$this map(array $map) Map a command to a handler. Parameters array $map Return Value $this
mixed makeListener(mixed $listener) Register an event listener with the dispatcher. Parameters mixed $listener Return Value mixed
void listen(string|array $events, mixed $listener, int $priority) Register an event listener with the dispatcher. Parameters string|array $events mixed $listener int $priority Return Value void
bool hasListeners(string $eventName) Determine if a given event has listeners. Parameters string $eventName Return Value bool
bool hasCommandHandler(mixed $command) Determine if the given command has a handler. Parameters mixed $command Return Value bool
array getListeners(string $eventName) Get all of the listeners for a given event name. Parameters string $eventName Return Value array
bool|mixed getCommandHandler(mixed $command) Retrieve the handler for a command. Parameters mixed $command Return Value bool|mixed
void forgetPushed() Forget all of the pushed listeners. Return Value void
Page 726 of 996