| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 14 | final class GenresDataProvider implements GenreListDataProviderInterface |
||
| 15 | { |
||
| 16 | 1 | public function __construct( |
|
| 17 | private readonly GenreRepositoryInterface $genreRepository |
||
| 18 | ) { |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return Generator<array{ |
||
| 23 | * value: string, |
||
| 24 | * albumCount: int, |
||
| 25 | * songCount: int |
||
| 26 | * }> |
||
| 27 | */ |
||
| 28 | 1 | public function getGenres(): Generator |
|
| 31 | } |
||
| 32 | } |
||
| 33 |