class
Illuminate
/
Notifications
/
Notification
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
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