class
Illuminate
/
Broadcasting
/
PendingBroadcast
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
PendingBroadcast
Properties
protected
$event mixed
The event instance.
Default: null
Methods
public
__construct ( Dispatcher $events , $event ) : void
Create a new pending broadcast instance.
Parameters
- $events Dispatcher
- $event mixed
public
via ( $connection ) : $this
Broadcast the event using a specific broadcaster.
Parameters
- $connection string|null
public
toOthers ( ) : $this
Broadcast the event to everyone except the current user.
public
__destruct ( ) : void
Handle the object's destruction.