Passed
Push — master ( f0d78a...818802 )
by Alexandr
12:50 queued 15s
created

PaymentDependencyProvider::getPaymentAuthorizeRequestExpanderPlugins()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * This file is part of the Spryker Commerce OS.
5
 * For full license information, please view the LICENSE file that was distributed with this source code.
6
 */
7
8
namespace Pyz\Zed\Payment;
9
10
use Spryker\Zed\DummyMarketplacePayment\Communication\Plugin\Payment\MerchantProductItemPaymentMethodFilterPlugin;
11
use Spryker\Zed\GiftCard\Communication\Plugin\GiftCardPaymentMethodFilterPlugin;
12
use Spryker\Zed\Nopayment\Communication\Plugin\Payment\PriceToPayPaymentMethodFilterPlugin;
13
use Spryker\Zed\Payment\PaymentDependencyProvider as SprykerPaymentDependencyProvider;
14
15
class PaymentDependencyProvider extends SprykerPaymentDependencyProvider
16
{
17
    /**
18
     * @return array<\Spryker\Zed\PaymentExtension\Dependency\Plugin\PaymentMethodFilterPluginInterface>
19
     */
20
    protected function getPaymentMethodFilterPlugins(): array
21
    {
22
        return [
23
            new PriceToPayPaymentMethodFilterPlugin(),
24
            new GiftCardPaymentMethodFilterPlugin(),
25
            new MerchantProductItemPaymentMethodFilterPlugin(),
26
        ];
27
    }
28
}
29