| Total Complexity | 6 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 69.23% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class FleetWrapper implements FleetWrapperInterface |
||
| 11 | { |
||
| 12 | private FleetInterface $fleet; |
||
| 13 | |||
| 14 | private ShipWrapperFactoryInterface $shipWrapperFactory; |
||
| 15 | |||
| 16 | private GameControllerInterface $game; |
||
| 17 | |||
| 18 | private bool $isSingleShips; |
||
| 19 | |||
| 20 | 2 | public function __construct( |
|
| 30 | } |
||
| 31 | |||
| 32 | 2 | public function get(): FleetInterface |
|
| 35 | } |
||
| 36 | |||
| 37 | public function getLeadWrapper(): ShipWrapperInterface |
||
| 40 | } |
||
| 41 | |||
| 42 | 2 | public function getShipWrappers(): array |
|
| 45 | } |
||
| 46 | |||
| 47 | public function isForeignFleet(): bool |
||
| 52 |