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

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.