Total Complexity | 4 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | class AdminController |
||
21 | { |
||
22 | /** |
||
23 | * @var EngineInterface |
||
24 | */ |
||
25 | private $templating; |
||
26 | |||
27 | /** |
||
28 | * @var RouterInterface |
||
29 | */ |
||
30 | private $router; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | private $indexActionTemplate; |
||
36 | |||
37 | public function __construct(EngineInterface $templating, RouterInterface $router, string $indexActionTemplate) |
||
38 | { |
||
39 | $this->templating = $templating; |
||
40 | $this->router = $router; |
||
41 | $this->indexActionTemplate = $indexActionTemplate; |
||
42 | } |
||
43 | |||
44 | public function indexAction(): Response |
||
47 | } |
||
48 | |||
49 | public function localeAction(string $_locale, Request $request): RedirectResponse |
||
57 | ); |
||
58 | } |
||
60 |