<?php

namespace App\Classes\Modules\HelpMenu\Services;

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

class ListsHelpMenuUserAnswerSelected extends AbstractListRecord
{

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

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


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