W3cubDocs

/Laravel 8

ShouldBroadcast

interface ShouldBroadcast (View source)

Methods

Channel|Channel[] broadcastOn()

Get the channels the event should broadcast on.

Details

Channel|Channel[] broadcastOn()

Get the channels the event should broadcast on.

Return Value

Channel|Channel[]

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Contracts/Broadcasting/ShouldBroadcast.html