| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | final class PirateWrathRepository extends EntityRepository implements PirateWrathRepositoryInterface |
||
| 17 | { |
||
| 18 | public function save(PirateWrathInterface $wrath): void |
||
| 19 | { |
||
| 20 | $em = $this->getEntityManager(); |
||
| 21 | |||
| 22 | $em->persist($wrath); |
||
| 23 | } |
||
| 24 | |||
| 25 | public function delete(PirateWrathInterface $wrath): void |
||
| 26 | { |
||
| 27 | $em = $this->getEntityManager(); |
||
| 28 | |||
| 29 | $em->remove($wrath); |
||
| 30 | } |
||
| 31 | |||
| 32 | public function prototype(): PirateWrathInterface |
||
| 35 | } |
||
| 36 | |||
| 37 | public function truncateAllEntries(): void |
||
| 47 |