File manager - Edit - /var/www/payraty/inventory_main/vendor/laravel/framework/src/Illuminate/Notifications/HasDatabaseNotifications.php
Back
<?php namespace Illuminate\Notifications; trait HasDatabaseNotifications { /** * Get the entity's notifications. * * @return \Illuminate\Database\Eloquent\Relations\MorphMany */ public function notifications() { return $this->morphMany(DatabaseNotification::class, 'notifiable')->orderBy('created_at', 'desc'); } /** * Get the entity's read notifications. * * @return \Illuminate\Database\Query\Builder */ public function readNotifications() { return $this->notifications()->read(); } /** * Get the entity's unread notifications. * * @return \Illuminate\Database\Query\Builder */ public function unreadNotifications() { return $this->notifications()->unread(); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings