@param ServiceManager $serviceManager
Parameters: | null|array – |
---|
@param array $configuration
Return type: | ServiceListener |
---|
@param ServiceManager|string $serviceManager Service Manager instance or name
Parameters: |
|
---|---|
Throws ExceptionRuntimeException: | |
Return type: | ServiceListener |
@param EventManagerInterface $events
Return type: | ServiceListener |
---|
@param EventManagerInterface $events
Return type: | void |
---|
Retrieve service manager configuration from module, and configure the service manager.
If the module does not implement a specific interface and does not implement a specific method, does nothing. Also, if the return value of that method is not a ServiceConfig object, or not an array or Traversable that can seed one, does nothing.
The interface and method name can be set by adding a new service manager via the addServiceManager() method.
Parameters: | ModuleEvent – |
---|---|
Return type: | void |
Use merged configuration to configure service manager
If the merged configuration has a non-empty, array ‘service_manager’ key, it will be passed to a ServiceManager Config object, and used to configure the service manager.
Parameters: | ModuleEvent – |
---|---|
Throws ExceptionRuntimeException: | |
Return type: | void |
Merge a service configuration container
Extracts the various service configuration arrays, and then merges with the internal service configuration.
Parameters: | ServiceConfig|string – Instance of ServiceConfig or class name |
---|---|
Throws ExceptionRuntimeException: | |
Return type: | array |