BitcoinGateway::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 2
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Bitcoin 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 Bitcoin gateway
17
 *
18
 * @author  Reüel van der Steege
19
 * @version 3.1.0
20
 * @since   1.0.5
21
 */
22
class BitcoinGateway extends Gateway {
23
	/**
24
	 * Constructs and initialize Bitcoin gateway.
25
	 */
26
	public function __construct() {
27
		parent::__construct( 'MeprBitcoinGateway', PaymentMethods::BITCOIN );
28
	}
29
}
30