class
Illuminate
/
Notifications
/
Events
/
BroadcastNotificationCreated
BroadcastNotificationCreated
Implements
Uses
Properties
public
$notifiable mixed
The notifiable entity who received the notification.
Default: null
public
$data array
The notification data.
Default: []
Methods
public
__construct ( $notifiable , $notification , $data ) : void
Create a new event instance.
Parameters
- $notifiable mixed
- $notification Notification
- $data array
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.