Dispatchable
trait Dispatchable
Methods
Dispatch the job with the given arguments.
Dispatch the job with the given arguments if the given truth test passes.
Dispatch the job with the given arguments unless the given truth test passes.
Dispatch a command to its appropriate handler in the current process.
Dispatch a command to its appropriate handler after the current process.
Set the jobs that should run if this job is successful.
Create a new pending job dispatch instance.
Details
at line 19
static PendingDispatch
dispatch(mixed ...$arguments)
Dispatch the job with the given arguments.
at line 27
static Fluent|PendingDispatch
dispatchIf(bool|Closure $boolean, mixed ...$arguments)
Dispatch the job with the given arguments if the given truth test passes.
at line 45
static Fluent|PendingDispatch
dispatchUnless(bool|Closure $boolean, mixed ...$arguments)
Dispatch the job with the given arguments unless the given truth test passes.
at line 65
static mixed
dispatchSync(mixed ...$arguments)
Dispatch a command to its appropriate handler in the current process.
Queueable jobs will be dispatched to the "sync" queue.
at line 75
static mixed
dispatchAfterResponse(mixed ...$arguments)
Dispatch a command to its appropriate handler after the current process.
at line 83
static PendingChain
withChain(array $chain)
Set the jobs that should run if this job is successful.
at line 91
static protected PendingDispatch
newPendingDispatch(mixed $job)
Create a new pending job dispatch instance.