PendingBroadcast

class PendingBroadcast (View source)

Properties

protected Dispatcher $events The event dispatcher implementation.
protected mixed $event The event instance.

Methods

void __construct(Dispatcher $events, mixed $event)

Create a new pending broadcast instance.

void __destruct()

Handle the object's destruction.

$this toOthers()

Broadcast the event to everyone except the current user.

Details

void __construct(Dispatcher $events, mixed $event)

Create a new pending broadcast instance.

Parameters

Dispatcher $events
mixed $event

Return Value

void

void __destruct()

Handle the object's destruction.

Return Value

void

$this toOthers()

Broadcast the event to everyone except the current user.

Return Value

$this

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Broadcasting/PendingBroadcast.html