Abstract aggregate listener

 Methods

Attach one or more listeners

attach(\Zend\EventManager\EventManagerInterface $events, $priority) : void

Implementors may add an optional $priority argument; the EventManager implementation will pass this to the aggregate.

Parameters

$priority

Detach all previously attached listeners

detach(\Zend\EventManager\EventManagerInterface $events) : void
Inherited

inherited_from \Zend\EventManager\AbstractListenerAggregate::detach()
inherited_from \Zend\Cache\Storage\Plugin\AbstractPlugin::detach()

Parameters

Get all pattern options

getOptions() : \Zend\Cache\Storage\Plugin\PluginOptions
Inherited

inherited_from \Zend\Cache\Storage\Plugin\AbstractPlugin::getOptions()

Returns

On decrement item pre

onDecrementItemPre(\Zend\Cache\Storage\Event $event) : mixed

Parameters

Returns

mixed

On decrement items pre

onDecrementItemsPre(\Zend\Cache\Storage\Event $event) : mixed

Parameters

Returns

mixed

On get capabilities

onGetCapabilitiesPost(\Zend\Cache\Storage\PostEvent $event) : void

Parameters

On increment item pre

onIncrementItemPre(\Zend\Cache\Storage\Event $event) : mixed

Parameters

Returns

mixed

On increment items pre

onIncrementItemsPre(\Zend\Cache\Storage\Event $event) : mixed

Parameters

Returns

mixed

On read item post

onReadItemPost(\Zend\Cache\Storage\PostEvent $event) : void

Parameters

On read items post

onReadItemsPost(\Zend\Cache\Storage\PostEvent $event) : void

Parameters

On write item pre

onWriteItemPre(\Zend\Cache\Storage\Event $event) : void

Parameters

On write items pre

onWriteItemsPre(\Zend\Cache\Storage\Event $event) : void

Parameters

Set pattern options

setOptions(\Zend\Cache\Storage\Plugin\PluginOptions $options) : \Zend\Cache\Storage\Plugin\AbstractPlugin
Inherited

inherited_from \Zend\Cache\Storage\Plugin\AbstractPlugin::setOptions()

Parameters

Returns

 Properties

 

$capabilities

$capabilities : array

 

$listeners

$listeners : \Zend\Stdlib\CallbackHandler[]
Inherited

inherited_from \Zend\EventManager\AbstractListenerAggregate::$$listeners
inherited_from \Zend\Cache\Storage\Plugin\AbstractPlugin::$$listeners
 

$options

$options : \Zend\Cache\Storage\Plugin\PluginOptions
Inherited

inherited_from \Zend\Cache\Storage\Plugin\AbstractPlugin::$$options