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