Fully Qualified Name: | Laminas\Cache\Storage\Plugin\PluginInterface |
Extends: | ListenerAggregateInterface |
Name | Description | Defined By |
---|---|---|
attach() | Attach one or more listeners | ListenerAggregateInterface |
detach() | Detach all previously attached listeners | ListenerAggregateInterface |
getOptions() | Get options | PluginInterface |
setOptions() | Set options | PluginInterface |
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
Get options
Returns: \PluginOptions
Set options
Parameter Name | Type | Description |
---|---|---|
$options | \PluginOptions |
Returns: \PluginInterface