Zend\Di\ServiceLocator\Generator::getCodeGenerator
Construct, configure, and return a PHP class file code generation object
Creates a Zend\Code\Generator\FileGenerator object that has created the specified class and service locator methods.
Signature
public function getCodeGenerator([null|string
$filename = null] )
Parameters
$filename
— object
Returns
- FileGenerator