PendingBroadcast
class PendingBroadcast (View source)
Properties
protected Dispatcher | $events | The event dispatcher implementation. |
|
protected mixed | $event | The event instance. |
Methods
void
$this
via(string|null $connection = null)
Broadcast the event using a specific broadcaster.
$this
toOthers()
Broadcast the event to everyone except the current user.
void
__destruct()
Handle the object's destruction.
Details
void
__construct(Dispatcher $events, mixed $event)
Create a new pending broadcast instance.
$this
via(string|null $connection = null)
Broadcast the event using a specific broadcaster.
$this
toOthers()
Broadcast the event to everyone except the current user.
void
__destruct()
Handle the object's destruction.