Passed
Push — master ( 542807...000b7f )
by Hector Luis
11:24
created

Base::getAuthOptions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * Gateway Client Class
6
 * @category    Ticaje
7
 * @package     Ticaje_Connector
8
 * @author      Hector Luis Barrientos <[email protected]>
9
 */
10
11
namespace Ticaje\Connector\Gateway\Client;
12
13
use Ticaje\Base\Application\Factory\FactoryInterface;
14
use Ticaje\Contract\Patterns\Interfaces\Decorator\ResponderInterface;
15
use Ticaje\Connector\Interfaces\ClientInterface;
16
17
/**
18
 * Class Base
19
 * @package Ticaje\Connector\Gateway\Client
20
 */
21
abstract class Base implements ClientInterface
22
{
23
    protected $authenticator;
24
25
    protected $client;
26
27
    protected $clientFactory;
28
29
    protected $responder;
30
31
    /**
32
     * Base constructor.
33
     * @param ResponderInterface $responder
34
     * @param FactoryInterface $clientFactory
35
     */
36
    public function __construct(
37
        ResponderInterface $responder,
38
        FactoryInterface $clientFactory
39
    ) {
40
        $this->responder = $responder;
41
        $this->clientFactory = $clientFactory;
42
    }
43
}
44