Abstract aggregate listener

 Methods

Attach one or more listeners

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

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

inherited_from \Zend\EventManager\ListenerAggregateInterface::attach()

Parameters

Detach all previously attached listeners

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

 Properties

 

$listeners

$listeners : \Zend\Stdlib\CallbackHandler[]