Zend\EventManager\SharedEventManagerInterface
Interface for shared event listener collections
Synopsis
interface SharedEventManagerInterface
{
- // methods
- public false|PriorityQueue getListeners()
- public void attach()
- public bool detach()
- public array getEvents()
- public bool clearListeners()
Methods
public
- attach() — Attach a listener to an event
- clearListeners() — Clear all listeners for a given identifier, optionally for a specific event
- detach() — Detach a listener from an event offered by a given resource
- getEvents() — Retrieve all registered events for a given resource
- getListeners() — Retrieve all listeners for a given identifier and event