| Total Complexity | 10 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | final class PriceProvider implements PriceProviderInterface |
||
| 21 | { |
||
| 22 | public function __construct(private array $prices) |
||
| 23 | { |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getPriceId(Plan $plan, string $paymentSchedule): string |
||
| 35 | } |
||
| 36 | |||
| 37 | public function getTrial(Plan $plan, string $paymentSchedule): int |
||
| 46 | } |
||
| 47 | |||
| 48 | public function getPrices(Plan $plan): array |
||
| 61 |