| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | final class GenreMapRepository extends EntityRepository implements GenreMapRepositoryInterface |
||
| 19 | { |
||
| 20 | #[Pure] |
||
| 21 | public function prototype(): GenreMapInterface |
||
| 22 | { |
||
| 23 | return new GenreMap(); |
||
| 24 | } |
||
| 25 | |||
| 26 | public function save(GenreMapInterface $genreMap): void |
||
| 27 | { |
||
| 28 | $this->getEntityManager()->persist($genreMap); |
||
| 29 | $this->getEntityManager()->flush(); |
||
| 30 | } |
||
| 31 | |||
| 32 | public function delete(GenreMapInterface $genreMap): void |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return iterable<GenreMapInterface> |
||
| 40 | */ |
||
| 41 | public function findByAlbum(AlbumInterface $album): iterable |
||
| 46 | ]); |
||
| 47 | } |
||
| 49 |