| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class PlayerBadgeUpdateCommand extends Command |
||
| 11 | { |
||
| 12 | protected static $defaultName = 'vgr-core:player-badge-update'; |
||
| 13 | |||
| 14 | private PlayerBadgeHandler $playerBadgeHandler; |
||
| 15 | |||
| 16 | public function __construct(PlayerBadgeHandler $playerBadgeHandler) |
||
| 17 | { |
||
| 18 | $this->playerBadgeHandler = $playerBadgeHandler; |
||
| 19 | parent::__construct(); |
||
| 20 | } |
||
| 21 | |||
| 22 | protected function configure(): void |
||
| 23 | { |
||
| 24 | $this |
||
| 25 | ->setName('vgr-core:player-badge-update') |
||
| 26 | ->setDescription('Command to maj player badges') |
||
| 27 | ; |
||
| 28 | parent::configure(); |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param InputInterface $input |
||
| 33 | * @param OutputInterface $output |
||
| 34 | * @return int |
||
| 35 | * @throws Exception |
||
| 36 | */ |
||
| 37 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 41 | } |
||
| 42 | } |
||
| 43 |