| Total Complexity | 4 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class UserScoreProvider implements UserScoreProviderInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var UserPastGamesInterface |
||
| 15 | */ |
||
| 16 | private $userPastGamesInterface; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var EntityManagerInterface |
||
| 20 | */ |
||
| 21 | private $entityManager; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param EntityManagerInterface $entityManager |
||
| 25 | * @param UserPastGamesInterface $userPastGamesInterface |
||
| 26 | */ |
||
| 27 | public function __construct(EntityManagerInterface $entityManager, UserPastGamesInterface $userPastGamesInterface) |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return UserScore[] |
||
| 35 | */ |
||
| 36 | public function get() : array |
||
| 53 | } |