ProcessPaymentResponse   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 14
rs 10
ccs 5
cts 5
cp 1
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getGatewayLocationUrl() 0 3 1
1
<?php declare(strict_types = 1);
2
3
namespace SlevomatCsobGateway\Call;
4
5
class ProcessPaymentResponse
6
{
7
8
	/** @var string */
9
	private $gatewayLocationUrl;
10
11 1
	public function __construct(string $gatewayLocationUrl)
12
	{
13 1
		$this->gatewayLocationUrl = $gatewayLocationUrl;
14 1
	}
15
16 1
	public function getGatewayLocationUrl(): string
17
	{
18 1
		return $this->gatewayLocationUrl;
19
	}
20
21
}
22