Documentation

QueueingDispatcher extends Dispatcher

Table of Contents

dispatch()  : mixed
Dispatch a command to its appropriate handler.
dispatchNow()  : mixed
Dispatch a command to its appropriate handler in the current process.
dispatchToQueue()  : mixed
Dispatch a command to its appropriate handler behind a queue.
pipeThrough()  : $this
Set the pipes commands should be piped through before dispatching.

Methods

dispatch()

Dispatch a command to its appropriate handler.

public dispatch(mixed $command) : mixed
Parameters
$command : mixed
Return values
mixed

dispatchNow()

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

public dispatchNow(mixed $command[, mixed $handler = null ]) : mixed
Parameters
$command : mixed
$handler : mixed = null
Return values
mixed

dispatchToQueue()

Dispatch a command to its appropriate handler behind a queue.

public dispatchToQueue(mixed $command) : mixed
Parameters
$command : mixed
Return values
mixed

pipeThrough()

Set the pipes commands should be piped through before dispatching.

public pipeThrough(array<string|int, mixed> $pipes) : $this
Parameters
$pipes : array<string|int, mixed>
Return values
$this

Search results