SofortGateway   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
1
<?php
2
/**
3
 * Sofort gateway
4
 *
5
 * @author    Pronamic <[email protected]>
6
 * @copyright 2005-2022 Pronamic
7
 * @license   GPL-3.0-or-later
8
 * @package   Pronamic\WordPress\Pay\Extensions\MemberPress
9
 */
10
11
namespace Pronamic\WordPress\Pay\Extensions\MemberPress\Gateways;
12
13
use Pronamic\WordPress\Pay\Core\PaymentMethods;
14
15
/**
16
 * WordPress pay MemberPress Sofort gateway
17
 *
18
 * @author  Remco Tolsma
19
 * @version 3.1.0
20
 * @since   1.0.0
21
 */
22
class SofortGateway extends Gateway {
23
	/**
24
	 * Constructs and initialize Sofort gateway.
25
	 */
26
	public function __construct() {
27
		parent::__construct( 'MeprSofortGateway', PaymentMethods::SOFORT );
28
	}
29
}
30