HasDatabaseNotifications
trait HasDatabaseNotifications (View source)
Methods
MorphMany | notifications() Get the entity's notifications. | |
Builder | readNotifications() Get the entity's read notifications. | |
Builder | unreadNotifications() Get the entity's unread notifications. |
Details
MorphMany notifications()
Get the entity's notifications.
Builder readNotifications()
Get the entity's read notifications.
Builder unreadNotifications()
Get the entity's unread notifications.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Notifications/HasDatabaseNotifications.html