@@ -117,6 +117,11 @@ |
||
| 117 | 117 | return $this->view->render($templatePath, $this->controllerResponse->getData()); |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | + /** |
|
| 121 | + * @param string $template |
|
| 122 | + * @param string $type |
|
| 123 | + * @param string $controller |
|
| 124 | + */ |
|
| 120 | 125 | private function checkTemplateFile($template, $type, $controller) : void |
| 121 | 126 | { |
| 122 | 127 | if (!file_exists($this->config->view->get('templates_path') .'/'. $template)) { |