| Total Complexity | 4 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | class SubscriptionPlanRepository extends DoctrineCrudRepository implements SubscriptionPlanRepositoryInterface |
||
| 24 | { |
||
| 25 | public function getAll(): array |
||
| 26 | { |
||
| 27 | return $this->entityRepository->findAll(); |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getAllForProduct(Product $product): array |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getByCodeName(string $codeName): SubscriptionPlan |
||
| 46 |