render(); } public function profile(): string { return $this->render('profile'); } public static function renderMainPage(): string { Application::$app->view->setLayout('Main'); return Application::$app->view->renderLayout(); } public function _404(): string { return $this->render(); } public function _403(): string { return $this->render(); } protected static function setControllerParams(string $title, string $view, string $layout, ?Model $model) { // TODO: Implement setControllerParams() method. } }