| Total Complexity | 5 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | final class SplitWarpCoreOutput implements ActionControllerInterface |
||
| 15 | { |
||
| 16 | public const ACTION_IDENTIFIER = 'B_SPLIT_WARP_CORE_OUTPUT'; |
||
| 17 | |||
| 18 | private ShipLoaderInterface $shipLoader; |
||
| 19 | |||
| 20 | private ShipWrapperFactoryInterface $shipWrapperFactory; |
||
| 21 | |||
| 22 | |||
| 23 | public function __construct( |
||
| 24 | ShipWrapperFactoryInterface $shipWrapperFactory, |
||
| 25 | ShipLoaderInterface $shipLoader |
||
| 26 | ) { |
||
| 27 | $this->shipLoader = $shipLoader; |
||
| 28 | $this->shipWrapperFactory = $shipWrapperFactory; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function handle(GameControllerInterface $game): void |
||
| 53 | } |
||
| 54 | |||
| 55 | public function performSessionCheck(): bool |
||
| 60 |