mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-09-01 10:54:00 +00:00
Admin Workflow - New UI for Admin to go through questions and answers
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace App\Classes\Modules\Questionnaires\Services;
|
||||
|
||||
|
||||
use App\Classes\General\Eloquent\AbstractListRecord;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use App\Models\QAQuestionnaireSet;
|
||||
|
||||
class ListsQuestionnaireSet extends AbstractListRecord
|
||||
{
|
||||
|
||||
/** @var QAQuestionnaireSet */
|
||||
private $repository;
|
||||
|
||||
/**
|
||||
* ListsQuestionnaireSet constructor.
|
||||
* @param QAQuestionnaireSet $repository
|
||||
*/
|
||||
public function __construct(QAQuestionnaireSet $repository)
|
||||
{
|
||||
$this->repository = $repository;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return Builder
|
||||
*/
|
||||
public function getRepository(): Builder
|
||||
{
|
||||
return $this->repository->newQuery();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user