public function docimologyOpenAction(Exercise $exercise)
    {
        return [
            '_resource' => $exercise,
            'resourceNode' => $exercise->getResourceNode(),
            'exercise' => $this->exerciseManager->serialize($exercise, [Transfer::MINIMAL]),
            'statistics' => $this->docimologyManager->getStatistics($exercise, 100),
        ];
    }
public function docimologyOpenAction(Exercise $exercise)
    {
        return [
            '_resource' => $exercise,
            'resourceNode' => $exercise->getResourceNode(),
            'exercise' => $this->exerciseManager->serialize($exercise, [Transfer::MINIMAL]),
            'statistics' => $this->docimologyManager->getStatistics($exercise, 100),
        ];
    }
public function docimologyOpenAction ( Exercise $ exercise ) { return [ '_resource' => $ exercise , 'resourceNode' => $ exercise -> getResourceNode ( ) , 'exercise' => $ this -> exerciseManager -> serialize ( $ exercise , [ Transfer :: MINIMAL ] ) , 'statistics' => $ this -> docimologyManager -> getStatistics ( $ exercise , 100 ) , ] ; }
Opens the docimology of a quiz.

@EXT\Route("/{id}/docimology", name="exercise_docimology")
@EXT\Method("GET")
@EXT\ParamConverter("exercise", class="UJMExoBundle:Exercise", options={"mapping": {"id": "uuid"}})
@EXT\Template("UJMExoBundle:exercise:docimology.html.twig")

@param Exercise $exercise

@return array
Opens the docimology of a quiz .