trait Notifiable (View source)
HasDatabaseNotifications |
RoutesNotifications |
notifications() Get the entity's notifications. | from HasDatabaseNotifications | |
readNotifications() Get the entity's read notifications. | from HasDatabaseNotifications | |
unreadNotifications() Get the entity's unread notifications. | from HasDatabaseNotifications | |
void | notify(mixed $instance) Send the given notification. | from RoutesNotifications |
mixed | routeNotificationFor(string $driver) Get the notification routing information for the given driver. | from RoutesNotifications |
Get the entity's notifications.
Get the entity's read notifications.
Get the entity's unread notifications.
Send the given notification.
Get the notification routing information for the given driver.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.5/Illuminate/Notifications/Notifiable.html