Dispatcher (Contracts)
Dispatcher
interface Dispatcher (View source)
Methods
void | listen( string|array $events, mixed $listener, int $priority) Register an event listener with the dispatcher. | |
bool | hasListeners( string $eventName) Determine if a given event has listeners. | |
void | push( string $event, array $payload = array()) Register an event and payload to |