BroadcastChannel
in package
Table of Contents
- $events : Dispatcher
- The event dispatcher.
- __construct() : void
- Create a new database channel.
- send() : array<string|int, mixed>|null
- Send the given notification.
- getData() : mixed
- Get the data for the notification.
Properties
$events
The event dispatcher.
protected
Dispatcher
$events
Methods
__construct()
Create a new database channel.
public
__construct(Dispatcher $events) : void
Parameters
- $events : Dispatcher
Return values
void —send()
Send the given notification.
public
send(mixed $notifiable, Notification $notification) : array<string|int, mixed>|null
Parameters
- $notifiable : mixed
- $notification : Notification
Return values
array<string|int, mixed>|null —getData()
Get the data for the notification.
protected
getData(mixed $notifiable, Notification $notification) : mixed
Parameters
- $notifiable : mixed
- $notification : Notification