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

Clear expired items by factor after writing new item(s)

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

Parameters

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

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

 

$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