AbstractPrePostPaymentHandler::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 2
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
nc 1
nop 2
1
<?php
2
3
/**
4
 * MIT License
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Yves\Computop\Handler;
9
10
use SprykerEco\Client\Computop\ComputopClientInterface;
11
use SprykerEco\Yves\Computop\Converter\ConverterInterface;
12
13
abstract class AbstractPrePostPaymentHandler implements ComputopPrePostPaymentHandlerInterface
14
{
15
    /**
16
     * @var \SprykerEco\Yves\Computop\Converter\ConverterInterface
17
     */
18
    protected $converter;
19
20
    /**
21
     * @var \SprykerEco\Client\Computop\ComputopClientInterface
22
     */
23
    protected $computopClient;
24
25
    /**
26
     * @param \SprykerEco\Yves\Computop\Converter\ConverterInterface $converter
27
     * @param \SprykerEco\Client\Computop\ComputopClientInterface $computopClient
28
     */
29
    public function __construct(ConverterInterface $converter, ComputopClientInterface $computopClient)
30
    {
31
        $this->converter = $converter;
32
        $this->computopClient = $computopClient;
33
    }
34
}
35