class Illuminate / Notifications / Events / BroadcastNotificationCreated
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

BroadcastNotificationCreated

Implements

Uses

Properties

public

$notifiable mixed

The notifiable entity who received the notification.

Default: null
public

$notification Notification

The notification instance.

Default: null
public

$data array

The notification data.

Default: []

Methods

public

__construct ( $notifiable , $notification , $data ) : void

Create a new event instance.

Parameters

public

broadcastOn ( ) : array

Get the channels the event should broadcast on.

protected

channelName ( ) : array|string

Get the broadcast channel name for the event.

public

broadcastWith ( ) : array

Get the data that should be sent with the broadcasted event.

public

broadcastType ( ) : string

Get the type of the notification being broadcast.