Interface for self-registering event listeners.

Classes implementing this interface may be registered by name or instance with an EventManager, without an event name. The \Zend\EventManager\attach() method will then be called with the current EventManager instance, allowing the class to wire up one or more listeners.

package Default
inherited_from \Zend\EventManager\ListenerAggregateInterface

 Methods

Get options

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

Returns

\Zend\Cache\Storage\Plugin\PluginOptions

Set options

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

Parameters

$options

\Zend\Cache\Storage\Plugin\PluginOptions

Returns

\Zend\Cache\Storage\Plugin\PluginInterface