NewSystemMessageNotification
class NewSystemMessageNotification extendsInAppNotification
Traits
Queueable
Constants
TYPE_DANGER |
Danger notification type. |
TYPE_WARNING |
Warning notification type. |
TYPE_SUCCESS |
Success notification type. |
TYPE_INFO |
Info notification type. |
Properties
protectedstring | $title | Title of the notification. | from InAppNotification |
protectedstring | $message | Message (body) of the notification. | from InAppNotification |
protectedstring | $type | Notification type. | from InAppNotification |
protectedstring | $action | Label of the action link. | from InAppNotification |
protectedstring | $actionLink | Action link (URL). | from InAppNotification |
Methods
void
__construct(string$message)
Create a new notification instance.
array
toArray(mixed$notifiable)
Get the array representation of the notification.
from InAppNotification
Details
at line16
void
__construct(string$message)
Create a new notification instance.
inInAppNotificationat line103
array
via(mixed$notifiable)
Get the notification's delivery channels.
inInAppNotificationat line114
array
toArray(mixed$notifiable)
Get the array representation of the notification.