ActionAbstract::getQueryParams()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
3
namespace MerchantSafeUnipay\SDK\Action;
4
5
abstract class ActionAbstract
6
{
7
    protected $merchantParams;
8
    protected $action;
9
    protected $queryParameters;
10
    protected $headers = [];
11
12
    public function __construct(array $merchantParams)
13
    {
14
        $this->merchantParams = $merchantParams;
15
    }
16
17
    public function getAction()
18
    {
19
        return $this->action;
20
    }
21
22
    public function getHeaders()
23
    {
24
        return $this->headers;
25
    }
26
27
    public function getQueryParams()
28
    {
29
        return $this->queryParameters;
30
    }
31
}
32