Test Failed
Push — develop ( 6098b1...78195a )
by Reüel
02:46
created

src/Connect/Integration.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace Pronamic\WordPress\Pay\Gateways\MultiSafepay\Connect;
4
5
use Pronamic\WordPress\Pay\Gateways\MultiSafepay\AbstractIntegration;
6
7
/**
8
 * Title: MultiSafepay Connect integration
9
 * Description:
10
 * Copyright: 2005-2019 Pronamic
11
 * Company: Pronamic
12
 *
13
 * @author  Remco Tolsma
14
 * @version 2.0.2
15
 * @since   1.2.6
16
 */
17
class Integration extends AbstractIntegration {
18
	public function __construct() {
19
		$this->id            = 'multisafepay-connect';
20
		$this->name          = 'MultiSafepay - Connect';
21
		$this->url           = 'http://www.multisafepay.com/';
22
		$this->product_url   = __( 'http://www.multisafepay.com/', 'pronamic_ideal' );
0 ignored issues
show
The function __ was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

22
		$this->product_url   = /** @scrutinizer ignore-call */ __( 'http://www.multisafepay.com/', 'pronamic_ideal' );
Loading history...
23
		$this->dashboard_url = 'https://merchant.multisafepay.com/';
24
		$this->provider      = 'multisafepay';
25
	}
26
27
	public function get_config_factory_class() {
28
		return __NAMESPACE__ . '\ConfigFactory';
29
	}
30
31
	/**
32
	 * Get required settings for this integration.
33
	 *
34
	 * @see   https://github.com/wp-premium/gravityforms/blob/1.9.16/includes/fields/class-gf-field-multiselect.php#L21-L42
35
	 * @since 1.0.4
36
	 * @return array
37
	 */
38
	public function get_settings() {
39
		$settings = parent::get_settings();
40
41
		$settings[] = 'multisafepay_connect';
42
43
		return $settings;
44
	}
45
}
46