| Total Complexity | 5 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class ShipcountDataProviderFactory implements ShipcountDataProviderFactoryInterface |
||
| 13 | { |
||
| 14 | private MapRepositoryInterface $mapRepository; |
||
| 15 | |||
| 16 | private StarSystemMapRepositoryInterface $starSystemMapRepository; |
||
| 17 | |||
| 18 | public function __construct( |
||
| 19 | MapRepositoryInterface $mapRepository, |
||
| 20 | StarSystemMapRepositoryInterface $starSystemMapRepository |
||
| 21 | ) { |
||
| 22 | $this->mapRepository = $mapRepository; |
||
| 23 | $this->starSystemMapRepository = $starSystemMapRepository; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getDataProvider(int $id, ShipcountLayerTypeEnum $type): AbstractPanelLayerDataProvider |
||
| 38 | } |
||
| 39 | } |
||
| 40 |