class Illuminate / Broadcasting / PendingBroadcast

PendingBroadcast

Properties

protected

$events Dispatcher

The event dispatcher implementation.

Default: null
protected

$event mixed

The event instance.

Default: null

Methods

public

__construct ( Dispatcher $events , $event ) : void

Create a new pending broadcast instance.

Parameters

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.