Fully Qualified Name: | Zend\ServiceManager\ConfigInterface |
Name | Description | Defined By |
---|---|---|
configureServiceManager() | Configure a service manager. | ConfigInterface |
toArray() | Return configuration for a service manager instance as an array. | ConfigInterface |
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.
Parameter Name | Type | Description |
---|---|---|
$serviceManager | \ServiceManager |
Returns: \ServiceManager
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:
In other words, this should return configuration that can be used to instantiate
a service manager or plugin manager, or pass to its withConfig()
method.
Returns: array