mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
f8230990f4
This reverts merge request !157
34 lines
613 B
PHP
34 lines
613 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\Jobs\Services;
|
|
|
|
|
|
use App\Classes\General\Eloquent\AbstractListRecord;
|
|
use Illuminate\Database\Eloquent\Builder;
|
|
use App\Models\JobResult;
|
|
|
|
class ListsJobResult extends AbstractListRecord
|
|
{
|
|
|
|
/** @var JobResult */
|
|
private $repository;
|
|
|
|
/**
|
|
* ListsJobResult constructor.
|
|
* @param JobResult $repository
|
|
*/
|
|
public function __construct(JobResult $repository)
|
|
{
|
|
$this->repository = $repository;
|
|
}
|
|
|
|
|
|
/**
|
|
* @return Builder
|
|
*/
|
|
function getRepository(): Builder
|
|
{
|
|
return $this->repository->newQuery();
|
|
}
|
|
}
|