class FakePendingBroadcast extends PendingBroadcast

Methods

__construct()

Create a new fake pending broadcast instance.

via(UnitEnum|string|null $connection = null)

Broadcast the event using a specific broadcaster.

toOthers()

Broadcast the event to everyone except the current user.

__destruct()

Handle the object's destruction.

Details

at line 14
__construct()

Create a new fake pending broadcast instance.

at line 21
PendingBroadcast via(UnitEnum|string|null $connection = null)

Broadcast the event using a specific broadcaster.

Parameters

UnitEnum|string|null $connection

Return Value

PendingBroadcast

at line 29
PendingBroadcast toOthers()

Broadcast the event to everyone except the current user.

Return Value

PendingBroadcast

at line 37
__destruct()

Handle the object's destruction.