Class ModuleManagerFactory


Fully Qualified Name: Zend\Mvc\Service\ModuleManagerFactory
Implements: FactoryInterface



Name Description Defined By
__invoke() Creates and returns the module manager ModuleManagerFactory

Method Details


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.

Parameter Name Type Description
$container \ContainerInterface
$name string
$options null|array

Returns: \ModuleManager