Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | // AUTOMATICALLY GENERATED. DO NOT EDIT. |
4 | // Use `composer build` to regenerate. |
5 | |
6 | namespace Wikimedia\IDLeDOM; |
7 | |
8 | /** |
9 | * URL |
10 | * |
11 | * @see https://dom.spec.whatwg.org/#interface-url |
12 | * |
13 | * @property string $href |
14 | * @property string $origin |
15 | * @property string $protocol |
16 | * @property string $username |
17 | * @property string $password |
18 | * @property string $host |
19 | * @property string $hostname |
20 | * @property string $port |
21 | * @property string $pathname |
22 | * @property string $search |
23 | * @property URLSearchParams $searchParams |
24 | * @property string $hash |
25 | * @phan-forbid-undeclared-magic-properties |
26 | */ |
27 | interface URL { |
28 | |
29 | /** |
30 | * @return string |
31 | */ |
32 | public function getHref(): string; |
33 | |
34 | /** |
35 | * @param string $val |
36 | */ |
37 | public function setHref( string $val ): void; |
38 | |
39 | /** |
40 | * @return string |
41 | */ |
42 | public function getOrigin(): string; |
43 | |
44 | /** |
45 | * @return string |
46 | */ |
47 | public function getProtocol(): string; |
48 | |
49 | /** |
50 | * @param string $val |
51 | */ |
52 | public function setProtocol( string $val ): void; |
53 | |
54 | /** |
55 | * @return string |
56 | */ |
57 | public function getUsername(): string; |
58 | |
59 | /** |
60 | * @param string $val |
61 | */ |
62 | public function setUsername( string $val ): void; |
63 | |
64 | /** |
65 | * @return string |
66 | */ |
67 | public function getPassword(): string; |
68 | |
69 | /** |
70 | * @param string $val |
71 | */ |
72 | public function setPassword( string $val ): void; |
73 | |
74 | /** |
75 | * @return string |
76 | */ |
77 | public function getHost(): string; |
78 | |
79 | /** |
80 | * @param string $val |
81 | */ |
82 | public function setHost( string $val ): void; |
83 | |
84 | /** |
85 | * @return string |
86 | */ |
87 | public function getHostname(): string; |
88 | |
89 | /** |
90 | * @param string $val |
91 | */ |
92 | public function setHostname( string $val ): void; |
93 | |
94 | /** |
95 | * @return string |
96 | */ |
97 | public function getPort(): string; |
98 | |
99 | /** |
100 | * @param string $val |
101 | */ |
102 | public function setPort( string $val ): void; |
103 | |
104 | /** |
105 | * @return string |
106 | */ |
107 | public function getPathname(): string; |
108 | |
109 | /** |
110 | * @param string $val |
111 | */ |
112 | public function setPathname( string $val ): void; |
113 | |
114 | /** |
115 | * @return string |
116 | */ |
117 | public function getSearch(): string; |
118 | |
119 | /** |
120 | * @param string $val |
121 | */ |
122 | public function setSearch( string $val ): void; |
123 | |
124 | /** |
125 | * @return URLSearchParams |
126 | */ |
127 | public function getSearchParams(); |
128 | |
129 | /** |
130 | * @return string |
131 | */ |
132 | public function getHash(): string; |
133 | |
134 | /** |
135 | * @param string $val |
136 | */ |
137 | public function setHash( string $val ): void; |
138 | |
139 | /** |
140 | * @return string |
141 | */ |
142 | public function toJSON(): string; |
143 | |
144 | } |