function
Global
/
event
You are viewing an older version of the documentation. For the latest, please visit master documentation.
event
event ( ) : array|null
Dispatch an event and call the listeners.
Parameters
- $event string|object
- $payload mixed
- $halt bool