class DatabaseChannel

Methods

send(mixed $notifiable, Notification $notification)

Send the given notification.

array
buildPayload(mixed $notifiable, Notification $notification)

Build an array payload for the DatabaseNotification Model.

array
getData(mixed $notifiable, Notification $notification)

Get the data for the notification.

Details

at line 16
Model send(mixed $notifiable, Notification $notification)

Send the given notification.

Parameters

mixed $notifiable
Notification $notification

Return Value

Model

at line 26
protected array buildPayload(mixed $notifiable, Notification $notification)

Build an array payload for the DatabaseNotification Model.

Parameters

mixed $notifiable
Notification $notification

Return Value

array

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

Get the data for the notification.

Parameters

mixed $notifiable
Notification $notification

Return Value

array

Exceptions

RuntimeException