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

protected

$events Dispatcher

The event dispatcher.

Default: null

Methods

public

__construct ( Dispatcher $events ) : void

Create a new broadcast channel.

Parameters

public

send ( $notifiable , Notification $notification ) : array|null

Send the given notification.

Parameters

protected

getData ( $notifiable , Notification $notification ) : mixed

Get the data for the notification.

Parameters