| Total Complexity | 3 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | class SubscriptionProvider implements SubscriptionProviderInterface |
||
| 29 | { |
||
| 30 | public function __construct(private SubscriptionRepositoryInterface $subscriptionRepository) |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getSubscriptionsForCustomer(CustomerInterface $customer): array |
||
| 35 | { |
||
| 36 | return $this->subscriptionRepository->getAllActiveForCustomer($customer); |
||
| 37 | } |
||
| 38 | |||
| 39 | public function getSubscription(string $id): Subscription |
||
| 42 | } |
||
| 43 | } |
||
| 44 |