| 1 | <?php |
||
| 10 | final class PaymentMethodsProvider implements PaymentMethodsProviderInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var PaymentMethodRepositoryInterface |
||
| 14 | */ |
||
| 15 | private $paymentMethodRepository; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * PaymentMethodsProvider constructor. |
||
| 19 | * |
||
| 20 | * @param PaymentMethodRepositoryInterface $paymentMethodRepository |
||
| 21 | */ |
||
| 22 | public function __construct(PaymentMethodRepositoryInterface $paymentMethodRepository) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritdoc} |
||
| 29 | */ |
||
| 30 | public function getSupportedMethods(string $type): array |
||
| 40 | } |
||
| 41 |