mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-19 04:23:59 +00:00
33 lines
623 B
PHP
33 lines
623 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\Notifications\Services;
|
|
|
|
|
|
use App\Classes\General\Eloquent\AbstractListRecord;
|
|
use Illuminate\Database\Eloquent\Builder;
|
|
use App\Models\Notification;
|
|
|
|
class ListsNotification extends AbstractListRecord
|
|
{
|
|
|
|
/** @var Bank */
|
|
private $repository;
|
|
|
|
/**
|
|
* ListsBank constructor.
|
|
* @param Notification $repository
|
|
*/
|
|
public function __construct(Notification $repository)
|
|
{
|
|
$this->repository = $repository;
|
|
}
|
|
|
|
|
|
/**
|
|
* @return Builder
|
|
*/
|
|
function getRepository(): Builder
|
|
{
|
|
return $this->repository->newQuery();
|
|
}
|
|
} |