plugin/exo/Manager/Attempt/PaperManager.php
public function countUserFinishedDayPapers(Exercise $exercise, User $user)
    {
        return $this->repository->countUserFinishedDayPapers($exercise, $user);
    }
public function countUserFinishedDayPapers(Exercise $exercise, User $user)
    {
        return $this->repository->countUserFinishedDayPapers($exercise, $user);
    }
public function countUserFinishedDayPapers ( Exercise $ exercise , User $ user ) { return $ this -> repository -> countUserFinishedDayPapers ( $ exercise , $ user ) ; }
Returns the number of finished papers already done by the user for a given exercise for the current day.

@param Exercise $exercise
@param User     $user

@return array
Returns the number of finished papers already done by the user for a given exercise for the current day .