Dispatchable
trait Dispatchable
Methods
static mixed
dispatch(mixed ...$arguments)
Dispatch the event with the given arguments.
static mixed
dispatchIf(bool $boolean, mixed ...$arguments)
Dispatch the event with the given arguments if the given truth test passes.
static mixed
dispatchUnless(bool $boolean, mixed ...$arguments)
Dispatch the event with the given arguments unless the given truth test passes.
static PendingBroadcast
broadcast(mixed ...$arguments)
Broadcast the event with the given arguments.
Details
at line 14
static mixed
dispatch(mixed ...$arguments)
Dispatch the event with the given arguments.
at line 22
static mixed
dispatchIf(bool $boolean, mixed ...$arguments)
Dispatch the event with the given arguments if the given truth test passes.
at line 30
static mixed
dispatchUnless(bool $boolean, mixed ...$arguments)
Dispatch the event with the given arguments unless the given truth test passes.
at line 38
static PendingBroadcast
broadcast(mixed ...$arguments)
Broadcast the event with the given arguments.