Fully Qualified Name: | Laminas\ModuleManager\Listener\ServiceListenerInterface |
Extends: | ListenerAggregateInterface |
Name | Description | Defined By |
---|---|---|
addServiceManager() | Provide metadata describing how to aggregate service/plugin manager configuration. | ServiceListenerInterface |
attach() | Attach one or more listeners | ListenerAggregateInterface |
detach() | Detach all previously attached listeners | ListenerAggregateInterface |
setDefaultServiceConfig() | ServiceListenerInterface |
Provide metadata describing how to aggregate service/plugin manager configuration.
Parameter Name | Type | Description |
---|---|---|
$serviceManager | string | Service |
$key | string | Configuration |
$moduleInterface | string | FQCN |
$method | string | Method |
Returns:
Attach one or more listeners
Implementors may add an optional $priority argument; the EventManager implementation will pass this to the aggregate.
Parameter Name | Type | Description |
---|---|---|
$events | \EventManagerInterface | |
$priority | int |
Returns: void
Detach all previously attached listeners
Parameter Name | Type | Description |
---|---|---|
$events | \EventManagerInterface |
Returns: void
Parameter Name | Type | Description |
---|---|---|
$configuration | array |
Returns: \ServiceListenerInterface