DatabaseChannel
in package
Table of Contents
Methods
- buildPayload() : array<string, mixed>
- Send the given notification.
- send() : Notification
- Send the given notification.
- getData() : array<string|int, mixed>
- Get the data for the notification.
- handleDataItem() : array<string|int, mixed>
Methods
buildPayload()
Send the given notification.
public
buildPayload(IsNotifiable $notifiable, Notification $notification) : array<string, mixed>
Parameters
- $notifiable : IsNotifiable
- $notification : Notification
Return values
array<string, mixed>send()
Send the given notification.
public
send(IsNotifiable $notifiable, Notification $notification) : Notification
Parameters
- $notifiable : IsNotifiable
- $notification : Notification
Return values
NotificationgetData()
Get the data for the notification.
protected
getData(IsNotifiable $notifiable, Notification $notification) : array<string|int, mixed>
Parameters
- $notifiable : IsNotifiable
- $notification : Notification
Tags
Return values
array<string|int, mixed>handleDataItem()
private
handleDataItem(mixed $data) : array<string|int, mixed>
Parameters
- $data : mixed