<?php

namespace App\Classes\Modules\HelpMenu\Services;

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

class FetchesHelpMenuUserAnswerSelected extends AbstractFetchRecord
{

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

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


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