| 1 |
<?php |
| 2 |
|
| 3 |
// AUTOMATICALLY GENERATED. DO NOT EDIT. |
| 4 |
// Use `composer build` to regenerate. |
| 5 |
|
| 6 |
namespace Wikimedia\IDLeDOM; |
| 7 |
|
| 8 |
/** |
| 9 |
* ValidityState |
| 10 |
* |
| 11 |
* @see https://dom.spec.whatwg.org/#interface-validitystate |
| 12 |
* |
| 13 |
* @property bool $valueMissing |
| 14 |
* @property bool $typeMismatch |
| 15 |
* @property bool $patternMismatch |
| 16 |
* @property bool $tooLong |
| 17 |
* @property bool $tooShort |
| 18 |
* @property bool $rangeUnderflow |
| 19 |
* @property bool $rangeOverflow |
| 20 |
* @property bool $stepMismatch |
| 21 |
* @property bool $badInput |
| 22 |
* @property bool $customError |
| 23 |
* @property bool $valid |
| 24 |
* @phan-forbid-undeclared-magic-properties |
| 25 |
*/ |
| 26 |
interface ValidityState { |
| 27 |
/** |
| 28 |
* @return bool |
| 29 |
*/ |
| 30 |
public function getValueMissing(): bool; |
| 31 |
|
| 32 |
/** |
| 33 |
* @return bool |
| 34 |
*/ |
| 35 |
public function getTypeMismatch(): bool; |
| 36 |
|
| 37 |
/** |
| 38 |
* @return bool |
| 39 |
*/ |
| 40 |
public function getPatternMismatch(): bool; |
| 41 |
|
| 42 |
/** |
| 43 |
* @return bool |
| 44 |
*/ |
| 45 |
public function getTooLong(): bool; |
| 46 |
|
| 47 |
/** |
| 48 |
* @return bool |
| 49 |
*/ |
| 50 |
public function getTooShort(): bool; |
| 51 |
|
| 52 |
/** |
| 53 |
* @return bool |
| 54 |
*/ |
| 55 |
public function getRangeUnderflow(): bool; |
| 56 |
|
| 57 |
/** |
| 58 |
* @return bool |
| 59 |
*/ |
| 60 |
public function getRangeOverflow(): bool; |
| 61 |
|
| 62 |
/** |
| 63 |
* @return bool |
| 64 |
*/ |
| 65 |
public function getStepMismatch(): bool; |
| 66 |
|
| 67 |
/** |
| 68 |
* @return bool |
| 69 |
*/ |
| 70 |
public function getBadInput(): bool; |
| 71 |
|
| 72 |
/** |
| 73 |
* @return bool |
| 74 |
*/ |
| 75 |
public function getCustomError(): bool; |
| 76 |
|
| 77 |
/** |
| 78 |
* @return bool |
| 79 |
*/ |
| 80 |
public function getValid(): bool; |
| 81 |
|
| 82 |
} |