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
Reset ignore_user_abort if it's activated and if it's the same target
who activated it.
onAfter(\Zend\Cache\Storage\Event $event) : void
If exit_on_abort is enabled and the connection has been aborted
exit the script.
Parameters
Activate ignore_user_abort if not already done
and save the target who activated it.
onBefore(\Zend\Cache\Storage\Event $event) : void
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 |