| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | final class ShowShields implements ViewControllerInterface |
||
| 14 | { |
||
| 15 | public const VIEW_IDENTIFIER = 'SHOW_SHIELDBAR_AJAX'; |
||
| 16 | |||
| 17 | private PlanetFieldHostProviderInterface $planetFieldHostProvider; |
||
| 18 | |||
| 19 | private ColonyGuiHelperInterface $colonyGuiHelper; |
||
| 20 | |||
| 21 | public function __construct( |
||
| 22 | PlanetFieldHostProviderInterface $planetFieldHostProvider, |
||
| 23 | ColonyGuiHelperInterface $colonyGuiHelper, |
||
| 24 | ) { |
||
| 25 | $this->planetFieldHostProvider = $planetFieldHostProvider; |
||
| 26 | $this->colonyGuiHelper = $colonyGuiHelper; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function handle(GameControllerInterface $game): void |
||
| 36 | } |
||
| 37 | } |
||
| 38 |