DatabaseChannel
class DatabaseChannel (View source)
Methods
Model | send(mixed $notifiable, Notification $notification) Send the given notification. | |
array | getData(mixed $notifiable, Notification $notification) Get the data for the notification. | |
array | buildPayload(mixed $notifiable, Notification $notification) Build an array payload for the DatabaseNotification Model. |
Details
Model send(mixed $notifiable, Notification $notification)
Send the given notification.
protected array getData(mixed $notifiable, Notification $notification)
Get the data for the notification.
protected array buildPayload(mixed $notifiable, Notification $notification)
Build an array payload for the DatabaseNotification Model.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Notifications/Channels/DatabaseChannel.html