| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 11 | class UserLesson implements UserLessonInterface |
||
| 12 | { |
||
| 13 | use TimestampableAwareTrait, PersistableAwareTrait, UserAwareTrait; |
||
| 14 | |||
| 15 | private $completed; |
||
| 16 | |||
| 17 | private $lesson; |
||
| 18 | |||
| 19 | public function getCompleted(): ?bool |
||
| 20 | { |
||
| 21 | return $this->completed; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function setCompleted(?bool $completed): void |
||
| 27 | } |
||
| 28 | |||
| 29 | public function getLesson(): LessonInterface |
||
| 32 | } |
||
| 33 | |||
| 34 | public function setLesson(LessonInterface $lesson): void |
||
| 39 |