| 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 | 2 | public function __construct( |
|
| 22 | private PlayerState $playerState, |
||
| 23 | ) { |
||
| 24 | 2 | parent::__construct(); |
|
| 25 | 2 | } |
|
| 26 | |||
| 27 | 2 | protected function configure(): void |
|
| 30 | 2 | } |
|
| 31 | |||
| 32 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 40 | } |
||
| 41 | } |
||
| 42 |