class DatabaseChannel (View source)

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

Model send(mixed $notifiable, Notification $notification)

Send the given notification.

Parameters

mixed $notifiable
Notification $notification

Return Value

Model

protected array buildPayload(mixed $notifiable, Notification $notification)

Build an array payload for the DatabaseNotification Model.

Parameters

mixed $notifiable
Notification $notification

Return Value

array

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

Get the data for the notification.

Parameters

mixed $notifiable
Notification $notification

Return Value

array

Exceptions

RuntimeException