| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | final class GenreMapRepository extends EntityRepository implements GenreMapRepositoryInterface |
||
| 18 | { |
||
| 19 | #[Pure] |
||
| 20 | public function prototype(): GenreMapInterface |
||
| 21 | { |
||
| 22 | return new GenreMap(); |
||
| 23 | } |
||
| 24 | |||
| 25 | public function save(GenreMapInterface $genreMap): void |
||
| 26 | { |
||
| 27 | $this->getEntityManager()->persist($genreMap); |
||
| 28 | $this->getEntityManager()->flush(); |
||
| 29 | } |
||
| 30 | |||
| 31 | public function delete(GenreMapInterface $genreMap): void |
||
| 35 | } |
||
| 36 | } |
||
| 37 |