Zend Framework
3.0
|
Object for defining configuration and configuring an existing service manager instance. More...
Public Member Functions | ||||
__construct (array $config=[]) | ||||
configureServiceManager (ServiceManager $serviceManager) | ||||
Configure a service manager.Implementations should pull configuration from somewhere (typically local properties) and pass it to a ServiceManager's withConfig() method, returning a new instance.
| ||||
toArray () | ||||
Return configuration for a service manager instance as an array.Implementations MUST return an array compatible with ServiceManager::configure, containing one or more of the following keys:
| ||||
Protected Attributes | |
$config | |
Object for defining configuration and configuring an existing service manager instance.
In order to provide configuration merging capabilities, this class implements the same functionality as `Zend::merge()`. That routine allows developers to specifically shape how values are merged:
These features are advanced, and not typically used. If you wish to use them, you will need to require the zend-stdlib package in your application.
__construct | ( | array | $config = [] | ) |
array | $config |
configureServiceManager | ( | ServiceManager | $serviceManager | ) |
Configure a service manager.Implementations should pull configuration from somewhere (typically local properties) and pass it to a ServiceManager's withConfig() method, returning a new instance.
ServiceManager | $serviceManager |
Implements ConfigInterface.
toArray | ( | ) |
Return configuration for a service manager instance as an array.Implementations MUST return an array compatible with ServiceManager::configure, containing one or more of the following keys:
Return an associative array of the stored data.
Implements ConfigInterface.
|
protected |