Form   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A initElements() 0 9 1
1
<?php
2
3
namespace ByTIC\Payments\Gateways\Providers\Romcard;
4
5
use ByTIC\Payments\Gateways\Providers\AbstractGateway\Form as AbstractForm;
6
7
/**
8
 * Class Form
9
 * @package ByTIC\Payments\Gateways\Providers\Euplatesc
10
 */
11
class Form extends AbstractForm
12
{
13
    public function initElements()
14
    {
15
        $this->initElementSandbox();
16
17
        $this->addInput('merchantName', 'Merchant Name');
18
        $this->addInput('merchantEmail', 'Merchant Email');
19
        $this->addInput('merchantUrl', 'Merchant Url');
20
        $this->addInput('terminal', 'Terminal');
21
        $this->addInput('key', 'Key');
22
    }
23
}
24