class BroadcastChannel

Methods

__construct(Dispatcher $events)

Create a new broadcast channel.

mixed
send(mixed $notifiable, Notification $notification)

Send the given notification.

mixed
getData(mixed $notifiable, Notification $notification)

Get the data for the notification.

Details

at line 18
__construct(Dispatcher $events)

Create a new broadcast channel.

Parameters

Dispatcher $events

at line 26
mixed send(mixed $notifiable, Notification $notification)

Send the given notification.

Parameters

mixed $notifiable
Notification $notification

Return Value

mixed

at line 49
protected mixed getData(mixed $notifiable, Notification $notification)

Get the data for the notification.

Parameters

mixed $notifiable
Notification $notification

Return Value

mixed

Exceptions

RuntimeException