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.

Return Value

MorphMany

Builder readNotifications()

Get the entity's read notifications.

Return Value

Builder

Builder unreadNotifications()

Get the entity's unread notifications.

Return Value

Builder

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/6.x/Illuminate/Notifications/HasDatabaseNotifications.html