class
Illuminate
/
Notifications
/
Channels
/
DatabaseChannel
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
DatabaseChannel
Methods
public
send ( $notifiable , Notification $notification ) : Model
Send the given notification.
Parameters
- $notifiable mixed
- $notification Notification
protected
buildPayload ( $notifiable , Notification $notification ) : array
Build an array payload for the DatabaseNotification Model.
Parameters
- $notifiable mixed
- $notification Notification
protected
getData ( $notifiable , Notification $notification ) : array
Get the data for the notification.
Parameters
- $notifiable mixed
- $notification Notification