| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 43.75% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | final class LoadGameCommand extends Command |
||
| 17 | { |
||
| 18 | protected static $defaultName = 'game:load'; |
||
| 19 | |||
| 20 | 2 | public function __construct( |
|
| 21 | private PlayerState $playerState, |
||
| 22 | ) { |
||
| 23 | 2 | parent::__construct(); |
|
| 24 | 2 | } |
|
| 25 | |||
| 26 | 2 | protected function configure(): void |
|
| 31 | 2 | } |
|
| 32 | |||
| 33 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 50 |