| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | class ResultApiController extends BaseApiController |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @Route("/active", name="administration_semester_event_result_api_active") |
||
| 27 | * |
||
| 28 | * @return JsonResponse |
||
| 29 | */ |
||
| 30 | public function activeEventAction(Event $event) |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @Route("/{event2}/participants", name="administration_semester_event_result_api_participants") |
||
| 37 | * |
||
| 38 | * @return JsonResponse |
||
| 39 | */ |
||
| 40 | public function participantsAction(Event $event) |
||
| 41 | { |
||
| 42 | return $this->returnParticipant($event->getParticipants()); |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @Route("/semesters", name="administration_semester_event_result_api_semesters") |
||
| 47 | * |
||
| 48 | * @return JsonResponse |
||
| 49 | */ |
||
| 50 | public function semestersAction() |
||
| 55 | } |
||
| 56 | } |
||
| 57 |