Interface PluginInterface

Summary

Fully Qualified Name: Zend\Cache\Storage\Plugin\PluginInterface
Extends: ListenerAggregateInterface

Description

Methods

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

Method Details

attach()

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()

Detach all previously attached listeners

Parameter Name Type Description
$events \EventManagerInterface

Returns: void

getOptions()

Get options

Returns: \PluginOptions

setOptions()

Set options

Parameter Name Type Description
$options \PluginOptions

Returns: \PluginInterface

Top