<?php

namespace App\Classes\Modules\Remarks\Services;


use App\Classes\General\Eloquent\AbstractFetchRecord;
use Illuminate\Database\Eloquent\Builder;
use App\Models\Remark;

class FetchesRemark extends AbstractFetchRecord
{

    /** @var Remark */
    private $repository;

    /**
     * FetchesRemark constructor.
     * @param Remark $repository
     */
    public function __construct(Remark $repository)
    {
        $this->repository = $repository;
    }


    /**
     * @return Builder
     */
    public function getRepository(): Builder
    {
        return $this->repository->newQuery();
    }
}
