PHP 8.3.31
Preview: HasDatabaseNotifications.php Size: 809 B
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Notifications/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\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();
    }
}

Directory Contents

Dirs: 5 × Files: 14

Name Size Perms Modified Actions
Channels DIR
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
Console DIR
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
Events DIR
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
Messages DIR
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
resources DIR
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
479 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.60 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
3.87 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.19 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
2.84 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
664 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
809 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.05 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
120 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
768 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
7.69 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.10 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.27 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
4.84 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).