Zend Framework
3.0
|
Public Member Functions | |
__invoke (ContainerInterface $container, $name, array $options=null) | |
Creates and returns the module manager. | |
createService (ServiceLocatorInterface $container) | |
Create and return ModuleManager instance. | |
__invoke | ( | ContainerInterface | $container, |
$name, | |||
array | $options = null |
||
) |
Creates and returns the module manager.
Instantiates the default module listeners, providing them configuration from the "module_listener_options" key of the ApplicationConfig service. Also sets the default config glob path.
Module manager is instantiated and provided with an EventManager, to which the default listener aggregate is attached. The ModuleEvent is also created and attached to the module manager.
ContainerInterface | $container | |
string | $name | |
null | array | $options |
Implements FactoryInterface.
createService | ( | ServiceLocatorInterface | $container | ) |
Create and return ModuleManager instance.
For use with zend-servicemanager v2; proxies to __invoke().
ServiceLocatorInterface | $container |
Implements FactoryInterface.