Zend\Mvc\Service\ModuleManagerFactory::createService
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.
Signature
public function createService(ServiceLocatorInterface
$serviceLocator )
Parameters
$serviceLocator
— Zend\ServiceManager\ServiceLocatorInterface
Returns
- ModuleManager