Total Complexity | 2 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | final class GenerateEmptySystemsCommand extends Command |
||
15 | { |
||
16 | private ContainerInterface $dic; |
||
17 | |||
18 | public function __construct( |
||
19 | ContainerInterface $dic |
||
20 | ) { |
||
21 | $this->dic = $dic; |
||
22 | |||
23 | parent::__construct( |
||
24 | 'system:generate', |
||
25 | 'Generates empty systems' |
||
26 | ); |
||
27 | |||
28 | $this |
||
29 | ->argument( |
||
30 | '<layerid>', |
||
31 | 'Id of the map layer' |
||
32 | ) |
||
33 | ->usage( |
||
34 | '<bold> $0 system:generate 1</end> <comment></end> ## Generates star systems for the layer<eol/>' |
||
35 | ); |
||
36 | } |
||
37 | |||
38 | public function execute(int $layerid): void |
||
49 | ); |
||
50 | } |
||
52 |