| 1 | <?php |
||
| 17 | class PaymentMethodProvider implements MethodProviderInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var ObjectRepository |
||
| 21 | */ |
||
| 22 | protected $gatewayRepository; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param ObjectRepository $gatewayRepository |
||
| 26 | */ |
||
| 27 | public function __construct(ObjectRepository $gatewayRepository) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | public function getActiveMethod() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function getDefaultMethod() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * {@inheritdoc} |
||
| 56 | */ |
||
| 57 | public function getEnabledMethods() |
||
| 61 | } |
||
| 62 |