Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | #[AsCommand( |
||
15 | name: 'vgr-core:player-badge-update', |
||
16 | description: 'Command to maj player badges' |
||
17 | )] |
||
18 | class PlayerBadgeUpdateCommand extends Command |
||
19 | { |
||
20 | private PlayerBadgeHandler $playerBadgeHandler; |
||
21 | |||
22 | public function __construct(PlayerBadgeHandler $playerBadgeHandler) |
||
23 | { |
||
24 | $this->playerBadgeHandler = $playerBadgeHandler; |
||
25 | parent::__construct(); |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @param InputInterface $input |
||
30 | * @param OutputInterface $output |
||
31 | * @return int |
||
32 | * @throws Exception |
||
33 | */ |
||
34 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
38 | } |
||
39 | } |
||
40 |