Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 54.55% |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | final class NewGameCommand extends Command |
||
18 | { |
||
19 | protected static $defaultName = 'game:new'; |
||
20 | |||
21 | 11 | public function __construct( |
|
22 | private PlayerState $playerState, |
||
23 | ) { |
||
24 | 11 | parent::__construct(); |
|
25 | 11 | } |
|
26 | |||
27 | 11 | protected function configure(): void |
|
30 | 11 | } |
|
31 | |||
32 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
40 | } |
||
41 | } |
||
42 |