class
Illuminate
/
Notifications
/
Channels
/
BroadcastChannel
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
BroadcastChannel
Properties
Methods
public
__construct ( Dispatcher $events ) : void
Create a new broadcast channel.
Parameters
- $events Dispatcher
public
send ( $notifiable , Notification $notification ) : array|null
Send the given notification.
Parameters
- $notifiable mixed
- $notification Notification
protected
getData ( $notifiable , Notification $notification ) : mixed
Get the data for the notification.
Parameters
- $notifiable mixed
- $notification Notification