Dispatchable
trait Dispatchable (View source)
Methods
static void | dispatch()
Dispatch the event with the given arguments. | |
static void | dispatchIf(bool $boolean, mixed ...$arguments)
Dispatch the event with the given arguments if the given truth test passes. | |
static void | dispatchUnless(bool $boolean, mixed ...$arguments)
Dispatch the event with the given arguments unless the given truth test passes. | |
static PendingBroadcast | broadcast()
Broadcast the event with the given arguments. |
Details
static void dispatch()
Dispatch the event with the given arguments.
static void dispatchIf(bool $boolean, mixed ...$arguments)
Dispatch the event with the given arguments if the given truth test passes.
static void dispatchUnless(bool $boolean, mixed ...$arguments)
Dispatch the event with the given arguments unless the given truth test passes.
static PendingBroadcast broadcast()
Broadcast the event with the given arguments.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/9.x/Illuminate/Foundation/Events/Dispatchable.html