BroadcastChannel
class BroadcastChannel (View source)
Properties
protected Dispatcher | $events | The event dispatcher. |
Methods
void | __construct(Dispatcher $events) Create a new database channel. | |
array|null | send(mixed $notifiable, Notification $notification) Send the given notification. | |
mixed | getData(mixed $notifiable, Notification $notification) Get the data for the notification. |
Details
void __construct(Dispatcher $events)
Create a new database channel.
array|null send(mixed $notifiable, Notification $notification)
Send the given notification.
protected mixed getData(mixed $notifiable, Notification $notification)
Get the data for the notification.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Notifications/Channels/BroadcastChannel.html