category Zend
package Zend_Mvc
subpackage Service

 Methods

Creates and returns the module manager

createService(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) : \Zend\ModuleManager\ModuleManager

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.

Parameters

Returns