Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class PlayerMasterBadgeHandler |
||
15 | { |
||
16 | private EntityManagerInterface $em; |
||
17 | private RankingProviderInterface $rankingProvider; |
||
18 | |||
19 | public function __construct( |
||
20 | EntityManagerInterface $em, |
||
21 | #[Autowire(service: PlayerGameRankingProvider::class)] |
||
22 | RankingProviderInterface $rankingProvider |
||
23 | ) { |
||
24 | $this->em = $em; |
||
25 | $this->rankingProvider = $rankingProvider; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @throws ORMException |
||
30 | */ |
||
31 | public function process(Game $game): void |
||
41 | } |
||
42 | } |
||
43 |