PHP Класс Zend\Mvc\Service\ModuleManagerFactory

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

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

Метод Описание
__invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : Zend\ModuleManager\ModuleManager Creates and returns the module manager
createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : Zend\ModuleManager\ModuleManager Create and return ModuleManager instance

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

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

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 __invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : Zend\ModuleManager\ModuleManager
$container Interop\Container\ContainerInterface
$name string
$options array
Результат Zend\ModuleManager\ModuleManager

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

For use with zend-servicemanager v2; proxies to __invoke().
public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : Zend\ModuleManager\ModuleManager
$container Zend\ServiceManager\ServiceLocatorInterface
Результат Zend\ModuleManager\ModuleManager