1 | <?php |
||
7 | class Input extends BaseElement |
||
8 | { |
||
9 | protected $tag = 'input'; |
||
10 | |||
11 | /** |
||
12 | * @return static |
||
13 | */ |
||
14 | public function autofocus() |
||
18 | |||
19 | /** |
||
20 | * @param bool $checked |
||
21 | * |
||
22 | * @return static |
||
23 | */ |
||
24 | public function checked($checked = true) |
||
30 | |||
31 | /** |
||
32 | * @param bool $disabled |
||
33 | * |
||
34 | * @return static |
||
35 | */ |
||
36 | public function disabled($disabled = true) |
||
42 | |||
43 | /** |
||
44 | * @param string|null $name |
||
45 | * |
||
46 | * @return static |
||
47 | */ |
||
48 | public function name($name) |
||
52 | |||
53 | /** |
||
54 | * @param string|null $placeholder |
||
55 | * |
||
56 | * @return static |
||
57 | */ |
||
58 | public function placeholder($placeholder) |
||
62 | |||
63 | /** |
||
64 | * @return static |
||
65 | */ |
||
66 | public function required() |
||
70 | |||
71 | /** |
||
72 | * @param string|null $type |
||
73 | * |
||
74 | * @return static |
||
75 | */ |
||
76 | public function type($type) |
||
80 | |||
81 | /** |
||
82 | * @return static |
||
83 | */ |
||
84 | public function unchecked() |
||
88 | |||
89 | /** |
||
90 | * @param string|null $value |
||
91 | * |
||
92 | * @return static |
||
93 | */ |
||
94 | public function value($value) |
||
98 | |||
99 | /** |
||
100 | * @return static |
||
101 | */ |
||
102 | public function readonly() |
||
106 | } |
||
107 |