Debian Codegraph @

vendor/wikimedia/idle-dom/src/Stub/HTMLOutputElement.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\DOMTokenList;
10 use Wikimedia\IDLeDOM\HTMLFormElement;
11 use Wikimedia\IDLeDOM\NodeList;
12 use Wikimedia\IDLeDOM\ValidityState;
13
14 trait HTMLOutputElement {
15
16 // Underscore is used to avoid conflicts with DOM-reserved names
17 // phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
18 // phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
19
20 /**
21 * @return Exception
22 */
23 abstract protected function _unimplemented(): Exception;
24
25 // phpcs:enable
26
27 /**
28 * @return DOMTokenList
29 */
30 public function getHtmlFor() {
31 throw self::_unimplemented();
32 }
33
34 /**
35 * @return HTMLFormElement|null
36 */
37 public function getForm() {
38 throw self::_unimplemented();
39 }
40
41 /**
42 * @return string
43 */
44 public function getType(): string {
45 throw self::_unimplemented();
46 }
47
48 /**
49 * @return string
50 */
51 public function getDefaultValue(): string {
52 throw self::_unimplemented();
53 }
54
55 /**
56 * @param string $val
57 */
58 public function setDefaultValue( string $val ): void {
59 throw self::_unimplemented();
60 }
61
62 /**
63 * @return string
64 */
65 public function getValue(): string {
66 throw self::_unimplemented();
67 }
68
69 /**
70 * @param string $val
71 */
72 public function setValue( string $val ): void {
73 throw self::_unimplemented();
74 }
75
76 /**
77 * @return bool
78 */
79 public function getWillValidate(): bool {
80 throw self::_unimplemented();
81 }
82
83 /**
84 * @return ValidityState
85 */
86 public function getValidity() {
87 throw self::_unimplemented();
88 }
89
90 /**
91 * @return string
92 */
93 public function getValidationMessage(): string {
94 throw self::_unimplemented();
95 }
96
97 /**
98 * @return bool
99 */
100 public function checkValidity(): bool {
101 throw self::_unimplemented();
102 }
103
104 /**
105 * @return bool
106 */
107 public function reportValidity(): bool {
108 throw self::_unimplemented();
109 }
110
111 /**
112 * @param string $error
113 * @return void
114 */
115 public function setCustomValidity( string $error ): void {
116 throw self::_unimplemented();
117 }
118
119 /**
120 * @return NodeList
121 */
122 public function getLabels() {
123 throw self::_unimplemented();
124 }
125
126 }