This commit is contained in:
2024-07-12 11:06:19 +03:00
12 changed files with 282 additions and 58 deletions

View File

@ -3,10 +3,11 @@ namespace app\controllers;
use app\models\Question;
class QuestionController{
public function actionCreate(): void
class QuestionController extends Controller{
public function actionCreate()
{
require "app/views/questionCreate.php";
echo $this->twig->render('questionCreate.html');
}
public function actionGetQuestionsWithAnswers(): array