Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class PlayerCountryRankingHandler extends AbstractRankingHandler |
||
12 | { |
||
13 | /*public function majAll() |
||
14 | { |
||
15 | $countries = $this->getCountryRepository()->findBy(['boolMaj' => true]); |
||
16 | foreach ($countries as $country) { |
||
17 | $this->handle($country->getId()); |
||
18 | $country->setBoolMaj(false); |
||
19 | } |
||
20 | $this->em->flush(); |
||
21 | }*/ |
||
22 | |||
23 | public function handle($mixed): void |
||
37 | } |
||
38 | |||
39 | private function getCountryRepository(): EntityRepository |
||
44 |