Completed
Pull Request — master (#4)
by Andrey
11:13 queued 07:59
created

AmazonpayFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A createZedStub() 0 3 1
1
<?php
2
3
/**
4
 * Apache OSL-2
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Client\Amazonpay;
9
10
use Spryker\Client\Kernel\AbstractFactory;
11
use SprykerEco\Client\Amazonpay\Zed\AmazonpayStub;
12
13
class AmazonpayFactory extends AbstractFactory
14
{
15
16
    /**
17
     * @return \SprykerEco\Client\Amazonpay\Zed\AmazonpayStubInterface
18
     */
19
    public function createZedStub()
20
    {
21
        return new AmazonpayStub($this->getProvidedDependency(AmazonpayDependencyProvider::CLIENT_ZED_REQUEST));
22
    }
23
24
}
25