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 string|null $name |
||
33 | * |
||
34 | * @return static |
||
35 | */ |
||
36 | public function name($name) |
||
40 | |||
41 | /** |
||
42 | * @param string|null $placeholder |
||
43 | * |
||
44 | * @return static |
||
45 | */ |
||
46 | public function placeholder($placeholder) |
||
50 | |||
51 | /** |
||
52 | * @return static |
||
53 | */ |
||
54 | public function required() |
||
58 | |||
59 | /** |
||
60 | * @param string|null $type |
||
61 | * |
||
62 | * @return static |
||
63 | */ |
||
64 | public function type($type) |
||
68 | |||
69 | /** |
||
70 | * @return static |
||
71 | */ |
||
72 | public function unchecked() |
||
76 | |||
77 | /** |
||
78 | * @param string|null $value |
||
79 | * |
||
80 | * @return static |
||
81 | */ |
||
82 | public function value($value) |
||
86 | |||
87 | /** |
||
88 | * @return static |
||
89 | */ |
||
90 | public function readonly() |
||
94 | } |
||
95 |