@@ -31,6 +31,11 @@ |
||
| 31 | 31 | $this->session =$session; |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @param string $template |
|
| 36 | + * @param string $type |
|
| 37 | + * @param string $controller |
|
| 38 | + */ |
|
| 34 | 39 | private function checkTemplateFile($template, $type, $controller) : void |
| 35 | 40 | { |
| 36 | 41 | if (!file_exists($this->config['templates_dir'] .'/'. $template)) { |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Selami\Core; |
| 13 | 13 | |
| 14 | -use Selami as s; |
|
| 15 | 14 | use Selami\Router; |
| 16 | 15 | use Psr\Container\ContainerInterface; |
| 17 | 16 | use Psr\Http\Message\ServerRequestInterface; |