trait InteractsWithBroadcasting

Properties

protected array $broadcastConnection

The broadcaster connection to use to broadcast the event.

Methods

broadcastVia(UnitEnum|array|string|null $connection = null)

Broadcast the event using a specific broadcaster.

array
broadcastConnections()

Get the broadcaster connections the event should be broadcast on.

Details

at line 22
InteractsWithBroadcasting broadcastVia(UnitEnum|array|string|null $connection = null)

Broadcast the event using a specific broadcaster.

Parameters

UnitEnum|array|string|null $connection

Return Value

InteractsWithBroadcasting

at line 37
array broadcastConnections()

Get the broadcaster connections the event should be broadcast on.

Return Value

array