class
Illuminate
/
Broadcasting
/
BroadcastEvent
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
BroadcastEvent
Implements
Uses
Properties
public
$event mixed
The event instance.
Default: null
public
$tries int
The number of times the job may be attempted.
Default: null
public
$timeout int
The number of seconds the job can run before timing out.
Default: null
public
$backoff int
The number of seconds to wait before retrying the job when encountering an uncaught exception.
Default: null
public
$maxExceptions int
The maximum number of unhandled exceptions to allow before failing.
Default: null
Methods
public
__construct ( $event ) : void
Create a new job handler instance.
Parameters
- $event mixed
protected
getPayloadFromEvent ( $event ) : array
Get the payload for the given event.
Parameters
- $event mixed
protected
formatProperty ( $value ) : mixed
Format the given value for a property.
Parameters
- $value mixed
public
displayName ( ) : string
Get the display name for the queued job.
public
__clone ( ) : void
Prepare the instance for cloning.