1 | <?php |
||
14 | abstract class BaseController extends Controller implements ControllerInterface |
||
15 | { |
||
16 | use TranslatedResponseTrait; |
||
17 | |||
18 | /** |
||
19 | * @param $data |
||
20 | * @param int $status |
||
21 | * @param array $headers |
||
22 | * @param array $context |
||
23 | * @return JsonResponse |
||
24 | */ |
||
25 | 15 | protected function response($data, int $status = 200, array $headers = [], array $context = []): JsonResponse |
|
32 | |||
33 | 15 | private function appendRolesToContextGroups(?array $context): array |
|
51 | } |