diff --git a/src/CourseBundle/Entity/CQuiz.php b/src/CourseBundle/Entity/CQuiz.php index 7026b24673..41b78b239c 100644 --- a/src/CourseBundle/Entity/CQuiz.php +++ b/src/CourseBundle/Entity/CQuiz.php @@ -670,4 +670,12 @@ class CQuiz extends AbstractResource implements ResourceInterface, ResourceShowC { return $this->setTitle($name); } + + /** + * @return Collection + */ + public function getAttempts(): Collection + { + return $this->attempts; + } }