Debian Codegraph @

vendor/wikimedia/idle-dom/src/Stub/URL.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\URLSearchParams;
10
11 trait URL {
12
13 // Underscore is used to avoid conflicts with DOM-reserved names
14 // phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
15 // phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
16
17 /**
18 * @return Exception
19 */
20 abstract protected function _unimplemented(): Exception;
21
22 // phpcs:enable
23
24 /**
25 * @return string
26 */
27 public function getHref(): string {
28 throw self::_unimplemented();
29 }
30
31 /**
32 * @param string $val
33 */
34 public function setHref( string $val ): void {
35 throw self::_unimplemented();
36 }
37
38 /**
39 * @return string
40 */
41 public function getOrigin(): string {
42 throw self::_unimplemented();
43 }
44
45 /**
46 * @return string
47 */
48 public function getProtocol(): string {
49 throw self::_unimplemented();
50 }
51
52 /**
53 * @param string $val
54 */
55 public function setProtocol( string $val ): void {
56 throw self::_unimplemented();
57 }
58
59 /**
60 * @return string
61 */
62 public function getUsername(): string {
63 throw self::_unimplemented();
64 }
65
66 /**
67 * @param string $val
68 */
69 public function setUsername( string $val ): void {
70 throw self::_unimplemented();
71 }
72
73 /**
74 * @return string
75 */
76 public function getPassword(): string {
77 throw self::_unimplemented();
78 }
79
80 /**
81 * @param string $val
82 */
83 public function setPassword( string $val ): void {
84 throw self::_unimplemented();
85 }
86
87 /**
88 * @return string
89 */
90 public function getHost(): string {
91 throw self::_unimplemented();
92 }
93
94 /**
95 * @param string $val
96 */
97 public function setHost( string $val ): void {
98 throw self::_unimplemented();
99 }
100
101 /**
102 * @return string
103 */
104 public function getHostname(): string {
105 throw self::_unimplemented();
106 }
107
108 /**
109 * @param string $val
110 */
111 public function setHostname( string $val ): void {
112 throw self::_unimplemented();
113 }
114
115 /**
116 * @return string
117 */
118 public function getPort(): string {
119 throw self::_unimplemented();
120 }
121
122 /**
123 * @param string $val
124 */
125 public function setPort( string $val ): void {
126 throw self::_unimplemented();
127 }
128
129 /**
130 * @return string
131 */
132 public function getPathname(): string {
133 throw self::_unimplemented();
134 }
135
136 /**
137 * @param string $val
138 */
139 public function setPathname( string $val ): void {
140 throw self::_unimplemented();
141 }
142
143 /**
144 * @return string
145 */
146 public function getSearch(): string {
147 throw self::_unimplemented();
148 }
149
150 /**
151 * @param string $val
152 */
153 public function setSearch( string $val ): void {
154 throw self::_unimplemented();
155 }
156
157 /**
158 * @return URLSearchParams
159 */
160 public function getSearchParams() {
161 throw self::_unimplemented();
162 }
163
164 /**
165 * @return string
166 */
167 public function getHash(): string {
168 throw self::_unimplemented();
169 }
170
171 /**
172 * @param string $val
173 */
174 public function setHash( string $val ): void {
175 throw self::_unimplemented();
176 }
177
178 /**
179 * @return string
180 */
181 public function toJSON(): string {
182 throw self::_unimplemented();
183 }
184
185 }