Debian Codegraph @

vendor/wikimedia/idle-dom/src/Stub/HTMLButtonElement.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 HTMLButtonElement {
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 HTMLFormElement|null
28 */
29 public function getForm() {
30 throw self::_unimplemented();
31 }
32
33 /**
34 * @return bool
35 */
36 public function getWillValidate(): bool {
37 throw self::_unimplemented();
38 }
39
40 /**
41 * @return ValidityState
42 */
43 public function getValidity() {
44 throw self::_unimplemented();
45 }
46
47 /**
48 * @return string
49 */
50 public function getValidationMessage(): string {
51 throw self::_unimplemented();
52 }
53
54 /**
55 * @return bool
56 */
57 public function checkValidity(): bool {
58 throw self::_unimplemented();
59 }
60
61 /**
62 * @return bool
63 */
64 public function reportValidity(): bool {
65 throw self::_unimplemented();
66 }
67
68 /**
69 * @param string $error
70 * @return void
71 */
72 public function setCustomValidity( string $error ): void {
73 throw self::_unimplemented();
74 }
75
76 /**
77 * @return NodeList
78 */
79 public function getLabels() {
80 throw self::_unimplemented();
81 }
82
83 }