W3cubDocs

/Laravel 5.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/5.8/Illuminate/Contracts/Broadcasting/ShouldBroadcast.html