<?php

namespace App\Classes\Modules\HelpMenu\Services;


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

class FetchesQAUserSource extends AbstractFetchRecord
{

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

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


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