Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function playerRanking(Chart $chart, Request $request) |
||
24 | { |
||
25 | $maxRank = $request->query->get('maxRank', 20); |
||
26 | $idPlayer = $request->query->get('idPlayer', null); |
||
|
|||
27 | $ranking = $this->getDoctrine() |
||
28 | ->getRepository('VideoGamesRecordsCoreBundle:PlayerChart') |
||
29 | ->getRanking($chart, null, $maxRank); |
||
30 | |||
31 | return $ranking; |
||
32 | } |
||
34 |