PHP 클래스 Gc\Mvc\Factory\ModuleManagerFactory

상속: implements Zend\ServiceManager\FactoryInterface
파일 보기 프로젝트 열기: gotcms/gotcms

공개 메소드들

메소드 설명
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