Total Complexity | 5 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | abstract class AbstractRankingProvider implements RankingProviderInterface |
||
16 | { |
||
17 | protected EntityManagerInterface $em; |
||
18 | protected UserToPlayerTransformer $userToPlayerTransformer; |
||
19 | |||
20 | public function __construct( |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @throws ORMException |
||
30 | */ |
||
31 | protected function getPlayer($user = null): ?Player |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @throws ORMException |
||
41 | */ |
||
42 | protected function getTeam($user = null): ?Team |
||
51 |