$arguments */ public function emit( string $eventName, array $arguments = [], callable $continueCallBack = null ) : bool; /** * Returns the list of listeners for an event. * * The list is returned as an array, and the list of events are sorted by * their priority. * * @return callable[] */ public function listeners(string $eventName) : array; /** * Removes a specific listener from an event. * * If the listener could not be found, this method will return false. If it * was removed it will return true. */ public function removeListener(string $eventName, callable $listener) : bool; }