EventManager.php
dispatch($eventName, Event $event)
Notify listeners about the given event.
EventManager is responsible for dispatching events to registered listeners.
Definition: EventManager.php:21
removeListener($eventName, $callback)
Remove a listener for a given event.
addListener($eventName, $callback)
Register a listener for a given event.