class RoleController extends Controller

Methods

__construct(EntityManagerInterface $em, RoleChecker $roleChecker)

No description

getList(Request $request)

No description

create(Request $request)

No description

updateOne(Request $request)

No description

delete(Request $request)

No description

Details

at line 39
__construct(EntityManagerInterface $em, RoleChecker $roleChecker)

Parameters

EntityManagerInterface $em
RoleChecker $roleChecker

at line 59
JsonResponse getList(Request $request)

Parameters

Request $request

Return Value

JsonResponse

at line 89
JsonResponse create(Request $request)

Parameters

Request $request

Return Value

JsonResponse

at line 121
JsonResponse updateOne(Request $request)

Parameters

Request $request

Return Value

JsonResponse

Exceptions

EntityNotFoundException

at line 156
JsonResponse delete(Request $request)

Parameters

Request $request

Return Value

JsonResponse