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

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

Защищенные свойства (Protected)

Свойство Тип Описание
$config array In addition to these, the constructor registers several factories and initializers; see that method for details.

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

Метод Описание
__construct ( array $config = [] ) Constructor
configureServiceManager ( Zend\ServiceManager\ServiceManager $services ) : Zend\ServiceManager\ServiceManager Configure service container.
toArray ( ) : array Return all service configuration (v3)

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

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

Merges internal arrays with those passed via configuration, and also defines: - factory for the service 'SharedEventManager'. - initializer for EventManagerAwareInterface implementations
public __construct ( array $config = [] )
$config array

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

Uses the configuration present in the instance to configure the provided service container. Before doing so, it adds a "service" entry for the ServiceManager class, pointing to the provided service container.
public configureServiceManager ( Zend\ServiceManager\ServiceManager $services ) : Zend\ServiceManager\ServiceManager
$services Zend\ServiceManager\ServiceManager
Результат Zend\ServiceManager\ServiceManager

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

Return all service configuration (v3)
public toArray ( ) : array
Результат array

Описание свойств

$config защищенное свойство

In addition to these, the constructor registers several factories and initializers; see that method for details.
protected array $config
Результат array