trait InteractsWithBroadcasting (View source)

Properties

protected array $broadcastConnection

The broadcaster connection to use to broadcast the event.

Methods

$this
broadcastVia(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

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

Broadcast the event using a specific broadcaster.

Parameters

array|string|null $connection

Return Value

$this

array broadcastConnections()

Get the broadcaster connections the event should be broadcast on.

Return Value

array