Dispatcher (Contracts)

Dispatcher

interface Dispatcher (View source)

Methods

mixed dispatch($command)

Dispatch a command to its appropriate handler.

mixed dispatchNow($command)

Dispatch a command to its appropriate handler in the current process.

$this pipeThrough( array $pipes)

Set the pipes commands should be piped through before dispatching.