| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | #[AsCommand( |
||
| 16 | name: 'vgr-core:player-ranking-proof-update', |
||
| 17 | description: 'Command to update players ranking' |
||
| 18 | )] |
||
| 19 | class PlayerRankingProofUpdateCommand extends Command |
||
| 20 | { |
||
| 21 | private RankUpdateInterface $rankUpdate; |
||
| 22 | |||
| 23 | public function __construct( |
||
| 24 | #[Autowire(service: PlayerRankUpdateHandler::class)] |
||
| 25 | RankUpdateInterface $rankUpdate |
||
| 26 | ) { |
||
| 27 | $this->rankUpdate = $rankUpdate; |
||
| 28 | parent::__construct(); |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param InputInterface $input |
||
| 33 | * @param OutputInterface $output |
||
| 34 | * @return int |
||
| 35 | */ |
||
| 36 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 40 | } |
||
| 41 | } |
||
| 42 |