Total Complexity | 3 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | #[AsCommand( |
||
17 | name: 'vgr-core:team-scoring-ranking-update', |
||
18 | description: 'Command to update all team rankings after scroring' |
||
19 | )] |
||
20 | class TeamScoringRankingUpdateCommand extends Command |
||
21 | { |
||
22 | private ScoringTeamRankingHandler $scoringTeamRankingHandler; |
||
23 | |||
24 | public function __construct(ScoringTeamRankingHandler $scoringTeamRankingHandler) |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @param InputInterface $input |
||
32 | * @param OutputInterface $output |
||
33 | * @return int |
||
34 | * @throws NonUniqueResultException |
||
35 | */ |
||
36 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
52 |