class
Illuminate
/
Notifications
/
Notification
You are viewing an older version of the documentation. For the latest, please visit master documentation.
Notification
Uses
Properties
public
$id string
The unique identifier for the notification.
Default: null
public
$locale string|null
The locale to be used when sending the notification.
Default: null
Methods
public
broadcastOn ( ) : array
Get the channels the event should broadcast on.
public
locale ( $locale ) : $this
Set the locale to send this notification in.
Parameters
- $locale string