| 1 | <?php |
||
| 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) |
||
| 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 |