| Total Complexity | 5 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | final class PirateWrathRepository extends EntityRepository implements PirateWrathRepositoryInterface |
||
| 18 | { |
||
| 19 | public function save(PirateWrathInterface $wrath): void |
||
| 20 | { |
||
| 21 | $em = $this->getEntityManager(); |
||
| 22 | |||
| 23 | $em->persist($wrath); |
||
| 24 | } |
||
| 25 | |||
| 26 | public function delete(PirateWrathInterface $wrath): void |
||
| 27 | { |
||
| 28 | $em = $this->getEntityManager(); |
||
| 29 | |||
| 30 | $em->remove($wrath); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function prototype(): PirateWrathInterface |
||
| 36 | } |
||
| 37 | |||
| 38 | public function truncateAllEntries(): void |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return PirateWrathInterface[] |
||
| 50 | */ |
||
| 51 | public function getPirateWrathTop10(): array |
||
| 64 | } |
||
| 65 | } |
||
| 66 |