25 function on($eventName, callable $callBack, $priority = 100);
35 function once($eventName, callable $callBack, $priority = 100);
63 function emit($eventName, array $arguments = [], callable $continueCallBack = null);
on($eventName, callable $callBack, $priority=100)
Subscribe to an event.
removeListener($eventName, callable $listener)
Removes a specific listener from an event.
removeAllListeners($eventName=null)
Removes all listeners.
once($eventName, callable $callBack, $priority=100)
Subscribe to an event exactly once.
emit($eventName, array $arguments=[], callable $continueCallBack=null)
Emits an event.
listeners($eventName)
Returns the list of listeners for an event.