plugin/competency/Controller/MyObjectiveController.php
public function competencyUserHistoryAction(Competency $competency, User $user)
    {
        return [
            'competency' => $competency,
            'user' => $user,
            'logs' => $this->progressManager->listLeafCompetencyLogs($competency, $user),
        ];
    }
public function competencyUserHistoryAction(Competency $competency, User $user)
    {
        return [
            'competency' => $competency,
            'user' => $user,
            'logs' => $this->progressManager->listLeafCompetencyLogs($competency, $user),
        ];
    }
public function competencyUserHistoryAction ( Competency $ competency , User $ user ) { return [ 'competency' => $ competency , 'user' => $ user , 'logs' => $ this -> progressManager -> listLeafCompetencyLogs ( $ competency , $ user ) , ] ; }
Displays the progress history of a user for a given competency.

@EXT\Route("/competencies/{id}/history", name="hevinci_competency_my_history")
@EXT\ParamConverter("user", options={"authenticatedUser"=true})
@EXT\Template("HeVinciCompetencyBundle::competencyHistory.html.twig")

@param Competency $competency
@param User       $user

@return array
Displays the progress history of a user for a given competency .