Dispatchable

trait Dispatchable (View source)

Methods

static PendingDispatch dispatch()

Dispatch the job with the given arguments.

static mixed dispatchNow()

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

static PendingChain withChain(array $chain)

Set the jobs that should run if this job is successful.

Details

static PendingDispatch dispatch()

Dispatch the job with the given arguments.

Return Value

PendingDispatch

static mixed dispatchNow()

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

Return Value

mixed

static PendingChain withChain(array $chain)

Set the jobs that should run if this job is successful.

Parameters

array $chain

Return Value

PendingChain

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Foundation/Bus/Dispatchable.html