Total Complexity | 3 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class GameProvider extends AbstractTablePlayerProvider |
||
6 | { |
||
7 | /** |
||
8 | * @return array |
||
9 | */ |
||
10 | public function getData(): array |
||
11 | { |
||
12 | return $this->em->getRepository('VideoGamesRecords\CoreBundle\Entity\Game') |
||
13 | ->findAll(); |
||
14 | } |
||
15 | |||
16 | /** |
||
17 | * @param $date1 |
||
18 | * @param $date2 |
||
19 | * @return array |
||
20 | */ |
||
21 | public function getNbPostDay($date1, $date2): array |
||
47 | } |
||
48 | } |
||
50 |