🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:HasDatabaseNotifications.php
<?php namespace Illuminate\Notifications; trait HasDatabaseNotifications { /** * Get the entity's notifications. * * @return \Illuminate\Database\Eloquent\Relations\MorphMany<DatabaseNotification, $this> */ public function notifications() { return $this->morphMany(DatabaseNotification::class, 'notifiable')->latest(); } /** * Get the entity's read notifications. * * @return \Illuminate\Database\Eloquent\Relations\MorphMany<DatabaseNotification, $this> */ public function readNotifications() { return $this->notifications()->read(); } /** * Get the entity's unread notifications. * * @return \Illuminate\Database\Eloquent\Relations\MorphMany<DatabaseNotification, $this> */ public function unreadNotifications() { return $this->notifications()->unread(); } }
Save Changes
Cancel
Create New File
Create New Folder