File manager - Edit - /var/www/html/pcadigital/api/app/Repositories/NotificationRepository.php
Back
<?php namespace App\Repositories; use App\Models\Notification; class NotificationRepository { public function getUnreadByUser(string $userId) { return Notification::where('auth_uuid', '=', $userId) ->whereNull('read_at')->get(); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings