class Illuminate / Notifications / Events / BroadcastNotificationCreated
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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.