| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class LogRepository extends EntityRepository |
||
| 14 | { |
||
| 15 | public function findByLevelAndExe(int $level, TrackEExercises $exe): array |
||
| 16 | { |
||
| 17 | return $this->findBy( |
||
| 18 | [ |
||
| 19 | 'level' => $level, |
||
| 20 | 'exe' => $exe, |
||
| 21 | ], |
||
| 22 | ['createdAt' => 'ASC'] |
||
| 23 | ); |
||
| 24 | } |
||
| 25 | |||
| 26 | public function findSnapshots(Exercise $objExercise, TrackEExercises $trackExe) |
||
| 46 | } |
||
| 47 | } |
||
| 48 |