@@ -111,6 +111,11 @@ |
||
| 111 | 111 | return $this->view->render($templatePath, $this->controllerResponse->getData()); |
| 112 | 112 | } |
| 113 | 113 | |
| 114 | + /** |
|
| 115 | + * @param string $template |
|
| 116 | + * @param string $type |
|
| 117 | + * @param string $controller |
|
| 118 | + */ |
|
| 114 | 119 | private function checkTemplateFile($template, $type, $controller) : void |
| 115 | 120 | { |
| 116 | 121 | if (!file_exists($this->config->app->get('templates_path') .'/'. $template)) { |
@@ -95,6 +95,9 @@ |
||
| 95 | 95 | } |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | + /** |
|
| 99 | + * @param string $message |
|
| 100 | + */ |
|
| 98 | 101 | private function notFound($status, $message) : void |
| 99 | 102 | { |
| 100 | 103 | $errorHandlerClass = $this->container->get('http-error-handler'); |