| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class UserLessonRepository extends ServiceEntityRepository implements UserLessonRepositoryInterface |
||
| 19 | { |
||
| 20 | public function __construct(RegistryInterface $registry) |
||
| 21 | { |
||
| 22 | parent::__construct($registry, UserLesson::class); |
||
| 23 | } |
||
| 24 | |||
| 25 | public function getOneByUserAndLesson(UserInterface $user, LessonInterface $lesson): ?UserLessonInterface |
||
| 33 | ; |
||
| 34 | } |
||
| 36 |