class BroadcastChannel

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

at line 26
void __construct(Dispatcher $events)

Create a new database channel.

Parameters

Dispatcher $events

Return Value

void

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

Send the given notification.

Parameters

mixed $notifiable
Notification $notification

Return Value

array|null

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

Get the data for the notification.

Parameters

mixed $notifiable
Notification $notification

Return Value

mixed

Exceptions

RuntimeException