Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | public function handle(GameControllerInterface $game): void |
||
25 | { |
||
26 | /** @var ModuleViewEnum */ |
||
27 | $view = $game->getViewContext()['VIEW']; |
||
28 | |||
29 | $this->viewComponentLoader->registerViewComponents($view, $game); |
||
30 | $game->setTemplateVar('VIEW_TEMPLATE', $view->getTemplate()); |
||
31 | |||
32 | $game->showMacro('html/view/breadcrumbAndView.twig'); |
||
33 | } |
||
35 |