PHP Класс Gc\Mvc\Factory\ModuleManagerFactory

Наследование: implements Zend\ServiceManager\FactoryInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
createService ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator ) : Zend\ModuleManager\ModuleManager Creates and returns the module manager

Защищенные методы

Метод Описание
prepareConfig ( Zend\ServiceManager\ServiceManager $serviceLocator, array $config ) : void Prepare services
prepareServices ( Zend\ModuleManager\Listener\ServiceListener $serviceListener, Zend\ServiceManager\ServiceManager $serviceLocator ) : void Prepare services

Описание методов

createService() публичный Метод

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.
public createService ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator ) : Zend\ModuleManager\ModuleManager
$serviceLocator Zend\ServiceManager\ServiceLocatorInterface Service Manager
Результат Zend\ModuleManager\ModuleManager

prepareConfig() защищенный Метод

Prepare services
protected prepareConfig ( Zend\ServiceManager\ServiceManager $serviceLocator, array $config ) : void
$serviceLocator Zend\ServiceManager\ServiceManager Service Manager
$config array Configuration
Результат void

prepareServices() защищенный Метод

Prepare services
protected prepareServices ( Zend\ModuleManager\Listener\ServiceListener $serviceListener, Zend\ServiceManager\ServiceManager $serviceLocator ) : void
$serviceListener Zend\ModuleManager\Listener\ServiceListener Service Listener
$serviceLocator Zend\ServiceManager\ServiceManager Service Manager
Результат void