BroadcastChannel

class BroadcastChannel (View source)

Properties

protected Dispatcher $events The event dispatcher.

Methods

void __construct(Dispatcher $events)

Create a new database channel.

array|null send(mixed $notifiable, Notification $notification)

Send the given notification.

mixed getData(mixed $notifiable, Notification $notification)

Get the data for the notification.

Details

void __construct(Dispatcher $events)

Create a new database channel.

Parameters

Dispatcher $events

Return Value

void

array|null send(mixed $notifiable, Notification $notification)

Send the given notification.

Parameters

mixed $notifiable
Notification $notification

Return Value

array|null

protected mixed getData(mixed $notifiable, Notification $notification)

Get the data for the notification.

Parameters

mixed $notifiable
Notification $notification

Return Value

mixed

Exceptions

RuntimeException

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Notifications/Channels/BroadcastChannel.html