BroadcastEvent
class BroadcastEvent implements ShouldQueue
Traits
Properties
string|null | $connection | The name of the connection the job should be sent to. |
from Queueable |
string|null | $queue | The name of the queue the job should be sent to. |
from Queueable |
DateTime|int|null | $delay | The number of seconds before the job should be made available. |
from Queueable |
mixed | $event | The event instance. |
Methods
void
__construct(mixed $event)
Create a new job handler instance.
void
array
getPayloadFromEvent(mixed $event)
Get the payload for the given event.
mixed
formatProperty(mixed $value)
Format the given value for a property.
string
displayName()
Get the display name for the queued job.
Details
in
Queueable at line 34
$this
onConnection(string|null $connection)
Set the desired connection for the job.
in
Queueable at line 47
$this
onQueue(string|null $queue)
Set the desired queue for the job.
at line 30
void
__construct(mixed $event)
Create a new job handler instance.
at line 41
void
handle(Broadcaster $broadcaster)
Handle the queued job.
at line 58
protected array
getPayloadFromEvent(mixed $event)
Get the payload for the given event.
at line 83
protected mixed
formatProperty(mixed $value)
Format the given value for a property.
at line 97
string
displayName()
Get the display name for the queued job.