Completed
Push — master ( 919a96...568a86 )
by wiese
73:55 queued 09:12
created

SofortUrlConfig::getReasonText()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
declare( strict_types = 1 );
4
5
namespace WMDE\Fundraising\Frontend\Presentation;
6
7
class SofortUrlConfig {
8
9
	/**
10
	 * @var string
11
	 */
12
	private $reasonText;
13
	/**
14
	 * @var string
15
	 */
16
	private $returnUrl;
17
	/**
18
	 * @var string
19
	 */
20
	private $cancelUrl;
21
22
	public function __construct( string $reasonText, string $returnUrl, string $cancelUrl ) {
23
		$this->reasonText = $reasonText;
24
		$this->returnUrl = $returnUrl;
25
		$this->cancelUrl = $cancelUrl;
26
	}
27
28
	public function getReasonText(): string {
29
		return $this->reasonText;
30
	}
31
32
	public function getReturnUrl(): string {
33
		return $this->returnUrl;
34
	}
35
36
	public function getCancelUrl(): string {
37
		return $this->cancelUrl;
38
	}
39
}
40