| @@ -32,6 +32,11 @@ | ||
| 32 | 32 | $this->session =$session; | 
| 33 | 33 | } | 
| 34 | 34 | |
| 35 | + /** | |
| 36 | + * @param string $template | |
| 37 | + * @param string $type | |
| 38 | + * @param string $controller | |
| 39 | + */ | |
| 35 | 40 | private function checkTemplateFile($template, $type, $controller) : void | 
| 36 | 41 |      { | 
| 37 | 42 |          if (!file_exists($this->config->app->get('templates_dir', './templates') .'/'. $template)) { |