trait
Illuminate
/
Foundation
/
Events
/
Dispatchable
You are viewing an older version of the documentation. For the latest, please visit master documentation.
Dispatchable
Methods
public
static
dispatch ( ) : void
Dispatch the event with the given arguments.
public
static
dispatchIf ( $boolean , $arguments ) : void
Dispatch the event with the given arguments if the given truth test passes.
Parameters
- $boolean bool
- $arguments mixed
public
static
dispatchUnless ( $boolean , $arguments ) : void
Dispatch the event with the given arguments unless the given truth test passes.
Parameters
- $boolean bool
- $arguments mixed