1 | <?php |
||
11 | abstract class Input extends NamedElement |
||
12 | { |
||
13 | /** |
||
14 | * @var |
||
15 | */ |
||
16 | protected $maxLength; |
||
17 | |||
18 | /** |
||
19 | * @var int |
||
20 | */ |
||
21 | protected $minLength = 0; |
||
22 | |||
23 | /** |
||
24 | * @var bool |
||
25 | */ |
||
26 | protected $readonly = false; |
||
27 | |||
28 | /** |
||
29 | * @return mixed |
||
30 | */ |
||
31 | public function getMaxLength() |
||
35 | |||
36 | /** |
||
37 | * @param int $value |
||
38 | * @return $this |
||
39 | */ |
||
40 | public function setMaxLength(int $value) |
||
47 | |||
48 | /** |
||
49 | * @return int |
||
50 | */ |
||
51 | public function getMinLength() |
||
55 | |||
56 | /** |
||
57 | * @param int $value |
||
58 | * @return $this |
||
59 | */ |
||
60 | public function setMinLength(int $value) |
||
68 | |||
69 | /** |
||
70 | * @return bool |
||
71 | */ |
||
72 | public function isReadonly() |
||
76 | |||
77 | /** |
||
78 | * @return $this |
||
79 | */ |
||
80 | public function readonly() |
||
86 | |||
87 | public function toArray() |
||
95 | } |
||
96 |