plugin/competency/Controller/MyObjectiveController.php
public function userObjectiveCompetenciesAction(Objective $objective, User $user)
    {
        return new JsonResponse($this->objectiveManager->loadUserObjectiveCompetencies($objective, $user));
    }
public function userObjectiveCompetenciesAction(Objective $objective, User $user)
    {
        return new JsonResponse($this->objectiveManager->loadUserObjectiveCompetencies($objective, $user));
    }
public function userObjectiveCompetenciesAction ( Objective $ objective , User $ user ) { return new JsonResponse ( $ this -> objectiveManager -> loadUserObjectiveCompetencies ( $ objective , $ user ) ) ; }
Returns the competencies associated with an objective assigned to a user, with progress data.

@EXT\Route("/{id}/competencies", name="hevinci_load_my_objective_competencies")
@EXT\ParamConverter("user", options={"authenticatedUser"=true})

@param Objective $objective
@param User      $user

@return JsonResponse
Returns the competencies associated with an objective assigned to a user with progress data .