| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | public function handle(GameControllerInterface $game): void |
||
| 30 | { |
||
| 31 | $host = $this->planetFieldHostProvider->loadHostViaRequestParameters($game->getUser()); |
||
| 32 | |||
| 33 | $this->colonyGuiHelper->registerComponents($host, $game, [GuiComponentEnum::SHIELD_BAR, GuiComponentEnum::SURFACE]); |
||
| 34 | |||
| 35 | $game->showMacro('html/colony/component/colonyShields.twig'); |
||
| 36 | } |
||
| 38 |