Abstract aggregate listener

package Default
inherited_from \Zend\Cache\Storage\Plugin\AbstractPlugin

 Methods

{@inheritDoc}

attach(\Zend\EventManager\EventManagerInterface $events, $priority = 1

Parameters

$events

$priority

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

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

Parameters

$event

\Zend\Cache\Storage\PostEvent

Detach all previously attached listeners

detach(\Zend\EventManager\EventManagerInterface $events) 
Inherited
inherited_from \Zend\EventManager\ListenerAggregateInterface::detach()

Parameters

$events

Get all pattern options

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

Returns

\Zend\Cache\Storage\Plugin\PluginOptions

Set pattern options

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

Parameters

$options

\Zend\Cache\Storage\Plugin\PluginOptions

Returns

\Zend\Cache\Storage\Plugin\AbstractPlugin

 Properties

 

$listeners

$listeners : array<mixed,\Zend\Stdlib\CallbackHandler>

Default

array()
 

$options

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

Default