| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class SongRepository extends AbstractRepository |
||
| 9 | { |
||
| 10 | private $helperService; |
||
| 11 | |||
| 12 | 132 | public function __construct(HelperService $helperService) |
|
| 13 | { |
||
| 14 | 132 | parent::__construct(); |
|
| 15 | 132 | $this->helperService = $helperService; |
|
| 16 | 132 | } |
|
| 17 | |||
| 18 | 132 | public function getModelClass(): string |
|
| 19 | { |
||
| 20 | 132 | return Song::class; |
|
| 21 | } |
||
| 22 | |||
| 23 | 3 | public function getOneByPath(string $path): ?Song |
|
| 29 | } |
||
| 30 | } |
||
| 31 |