Generator that creates the body of a service locator that can emulate the logic of the given ZendDiDi instance without class definitions
Constructor
Requires a DependencyInjection manager on which to operate.
Parameters: | Di – |
---|
Set the class name for the generated service locator container
Parameters: | string – |
---|---|
Return type: | Generator |
Set the namespace to use for the generated class file
Parameters: | string – |
---|---|
Return type: | Generator |
Construct, configure, and return a PHP class file code generation object
Creates a ZendCodeGeneratorFileGenerator object that has created the specified class and service locator methods.
Parameters: | null|string – |
---|---|
Throws ZendDiExceptionRuntimeException: | |
Return type: | FileGenerator |
Reduces aliases
Takes alias list and reduces it to a 2-dimensional array of class names pointing to an array of aliases that resolve to it.
Parameters: | array – |
---|---|
Return type: | array |