PHP Trait Laravel\Lumen\Routing\DispatchesJobs

显示文件 Open project: ctrlaltdylan/MirrorMirror

Protected Methods

Method Description
dispatch ( mixed $job ) : mixed Dispatch a job to its appropriate handler.
dispatchFrom ( mixed $job, ArrayAccess $source, array $extras = [] ) : mixed Marshal a job and dispatch it to its appropriate handler.
dispatchFromArray ( mixed $job, array $array ) : mixed Marshal a job and dispatch it to its appropriate handler.

Method Details

dispatch() protected method

Dispatch a job to its appropriate handler.
protected dispatch ( mixed $job ) : mixed
$job mixed
return mixed

dispatchFrom() protected method

Marshal a job and dispatch it to its appropriate handler.
protected dispatchFrom ( mixed $job, ArrayAccess $source, array $extras = [] ) : mixed
$job mixed
$source ArrayAccess
$extras array
return mixed

dispatchFromArray() protected method

Marshal a job and dispatch it to its appropriate handler.
protected dispatchFromArray ( mixed $job, array $array ) : mixed
$job mixed
$array array
return mixed