<?php

namespace App\Classes\Modules\HelpMenu\Services;

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

class ListsHelpMenuQuestions extends AbstractListRecord
{

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

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


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