Debian Codegraph @

vendor/wikimedia/idle-dom/src/Stub/HTMLTextAreaElement.php

raw
1 <?php
2
3 // AUTOMATICALLY GENERATED. DO NOT EDIT.
4 // Use `composer build` to regenerate.
5
6 namespace Wikimedia\IDLeDOM\Stub;
7
8 use Exception;
9 use Wikimedia\IDLeDOM\HTMLFormElement;
10 use Wikimedia\IDLeDOM\NodeList;
11 use Wikimedia\IDLeDOM\ValidityState;
12
13 trait HTMLTextAreaElement {
14
15 // Underscore is used to avoid conflicts with DOM-reserved names
16 // phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
17 // phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
18
19 /**
20 * @return Exception
21 */
22 abstract protected function _unimplemented(): Exception;
23
24 // phpcs:enable
25
26 /**
27 * @return int
28 */
29 public function getCols(): int {
30 throw self::_unimplemented();
31 }
32
33 /**
34 * @param int $val
35 */
36 public function setCols( int $val ): void {
37 throw self::_unimplemented();
38 }
39
40 /**
41 * @return HTMLFormElement|null
42 */
43 public function getForm() {
44 throw self::_unimplemented();
45 }
46
47 /**
48 * @return int
49 */
50 public function getMaxLength(): int {
51 throw self::_unimplemented();
52 }
53
54 /**
55 * @param int $val
56 */
57 public function setMaxLength( int $val ): void {
58 throw self::_unimplemented();
59 }
60
61 /**
62 * @return int
63 */
64 public function getMinLength(): int {
65 throw self::_unimplemented();
66 }
67
68 /**
69 * @param int $val
70 */
71 public function setMinLength( int $val ): void {
72 throw self::_unimplemented();
73 }
74
75 /**
76 * @return int
77 */
78 public function getRows(): int {
79 throw self::_unimplemented();
80 }
81
82 /**
83 * @param int $val
84 */
85 public function setRows( int $val ): void {
86 throw self::_unimplemented();
87 }
88
89 /**
90 * @return string
91 */
92 public function getType(): string {
93 throw self::_unimplemented();
94 }
95
96 /**
97 * @return string
98 */
99 public function getDefaultValue(): string {
100 throw self::_unimplemented();
101 }
102
103 /**
104 * @param string $val
105 */
106 public function setDefaultValue( string $val ): void {
107 throw self::_unimplemented();
108 }
109
110 /**
111 * @return string
112 */
113 public function getValue(): string {
114 throw self::_unimplemented();
115 }
116
117 /**
118 * @param ?string $val
119 */
120 public function setValue( ?string $val ): void {
121 throw self::_unimplemented();
122 }
123
124 /**
125 * @return int
126 */
127 public function getTextLength(): int {
128 throw self::_unimplemented();
129 }
130
131 /**
132 * @return bool
133 */
134 public function getWillValidate(): bool {
135 throw self::_unimplemented();
136 }
137
138 /**
139 * @return ValidityState
140 */
141 public function getValidity() {
142 throw self::_unimplemented();
143 }
144
145 /**
146 * @return string
147 */
148 public function getValidationMessage(): string {
149 throw self::_unimplemented();
150 }
151
152 /**
153 * @return bool
154 */
155 public function checkValidity(): bool {
156 throw self::_unimplemented();
157 }
158
159 /**
160 * @return bool
161 */
162 public function reportValidity(): bool {
163 throw self::_unimplemented();
164 }
165
166 /**
167 * @param string $error
168 * @return void
169 */
170 public function setCustomValidity( string $error ): void {
171 throw self::_unimplemented();
172 }
173
174 /**
175 * @return NodeList
176 */
177 public function getLabels() {
178 throw self::_unimplemented();
179 }
180
181 /**
182 * @return void
183 */
184 public function select(): void {
185 throw self::_unimplemented();
186 }
187
188 /**
189 * @return int
190 */
191 public function getSelectionStart(): int {
192 throw self::_unimplemented();
193 }
194
195 /**
196 * @param int $val
197 */
198 public function setSelectionStart( int $val ): void {
199 throw self::_unimplemented();
200 }
201
202 /**
203 * @return int
204 */
205 public function getSelectionEnd(): int {
206 throw self::_unimplemented();
207 }
208
209 /**
210 * @param int $val
211 */
212 public function setSelectionEnd( int $val ): void {
213 throw self::_unimplemented();
214 }
215
216 /**
217 * @return string
218 */
219 public function getSelectionDirection(): string {
220 throw self::_unimplemented();
221 }
222
223 /**
224 * @param string $val
225 */
226 public function setSelectionDirection( string $val ): void {
227 throw self::_unimplemented();
228 }
229
230 /**
231 * @param string $replacement
232 * @return void
233 */
234 public function setRangeText( string $replacement ): void {
235 throw self::_unimplemented();
236 }
237
238 /**
239 * @param int $start
240 * @param int $end
241 * @param ?string $direction
242 * @return void
243 */
244 public function setSelectionRange( int $start, int $end, ?string $direction = null ): void {
245 throw self::_unimplemented();
246 }
247
248 }