| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class BaseApiController extends BaseDoctrineController |
||
| 19 | { |
||
| 20 | public static function getSubscribedServices() |
||
| 21 | { |
||
| 22 | return parent::getSubscribedServices() + |
||
| 23 | [ |
||
| 24 | 'serializer' => SerializerInterface::class, |
||
| 25 | ]; |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return SerializerInterface |
||
| 30 | */ |
||
| 31 | private function getSerializer() |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param Organisation[] $organisations |
||
| 38 | * |
||
| 39 | * @return JsonResponse |
||
| 40 | */ |
||
| 41 | protected function returnOrganisations($organisations) |
||
| 55 |