Completed
Push — master ( 8a94a6...447f14 )
by Dmitry
07:39 queued 04:34
created

TestableInput::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace hipanel\tests\_support\Page\Widget\Input;
4
5
use hipanel\tests\_support\AcceptanceTester;
6
7
abstract class TestableInput
8
{
9
    /**
10
     * @var string $name
11
     */
12
    protected $name;
13
14
    /**
15
     * TestableInput constructor.
16
     * @param string $name
17
     */
18
    public function __construct($name)
19
    {
20
        $this->name = $name;
21
    }
22
23
    /**
24
     * Checks whether input is visible
25
     *
26
     * @param AcceptanceTester $I
27
     * @param string $formId
28
     */
29
    abstract public function isVisible(AcceptanceTester $I, string $formId): void;
30
}
31