trait
Illuminate
/
Foundation
/
Events
/
Dispatchable
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
Dispatchable
Methods
public
static
dispatch ( ) : mixed
Dispatch the event with the given arguments.
public
static
dispatchIf ( $boolean , $arguments ) : mixed
Dispatch the event with the given arguments if the given truth test passes.
Parameters
- $boolean bool
- $arguments mixed
public
static
dispatchUnless ( $boolean , $arguments ) : mixed
Dispatch the event with the given arguments unless the given truth test passes.
Parameters
- $boolean bool
- $arguments mixed