mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 12:33:56 +00:00
33 lines
588 B
PHP
33 lines
588 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\Accounts\Services;
|
|
|
|
|
|
use App\Classes\General\Eloquent\AbstractListRecord;
|
|
use App\Models\User;
|
|
use Illuminate\Database\Eloquent\Builder;
|
|
|
|
class ListsUsers extends AbstractListRecord
|
|
{
|
|
|
|
/** @var User */
|
|
private $repository;
|
|
|
|
/**
|
|
* ListsUsers constructor.
|
|
* @param User $repository
|
|
*/
|
|
public function __construct(User $repository)
|
|
{
|
|
$this->repository = $repository;
|
|
}
|
|
|
|
|
|
/**
|
|
* @return Builder
|
|
*/
|
|
function getRepository(): Builder
|
|
{
|
|
return $this->repository->newQuery();
|
|
}
|
|
} |