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

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

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

Метод Описание
__invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : array | Traversable Create the application configuration service
createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : array | Traversable Create and return config instance

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

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

Retrieves the Module Manager from the service locator, and executes {@link Zend\ModuleManager\ModuleManager::loadModules()}. It then retrieves the config listener from the module manager, and from that the merged configuration.
public __invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : array | Traversable
$container Interop\Container\ContainerInterface
$name string
$options array
Результат array | Traversable

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

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