| 1 |
<?php |
| 2 |
|
| 3 |
// AUTOMATICALLY GENERATED. DO NOT EDIT. |
| 4 |
// Use `composer build` to regenerate. |
| 5 |
|
| 6 |
namespace Wikimedia\IDLeDOM; |
| 7 |
|
| 8 |
/** |
| 9 |
* URLSearchParams |
| 10 |
* |
| 11 |
* @see https://dom.spec.whatwg.org/#interface-urlsearchparams |
| 12 |
* |
| 13 |
* @phan-forbid-undeclared-magic-properties |
| 14 |
*/ |
| 15 |
interface URLSearchParams extends \IteratorAggregate { |
| 16 |
|
| 17 |
/** |
| 18 |
* @param string $name |
| 19 |
* @param string $value |
| 20 |
* @return void |
| 21 |
*/ |
| 22 |
public function append( string $name, string $value ): void; |
| 23 |
|
| 24 |
/** |
| 25 |
* @param string $name |
| 26 |
* @return void |
| 27 |
*/ |
| 28 |
public function delete( string $name ): void; |
| 29 |
|
| 30 |
/** |
| 31 |
* @param string $name |
| 32 |
* @return ?string |
| 33 |
*/ |
| 34 |
public function get( string $name ): ?string; |
| 35 |
|
| 36 |
/** |
| 37 |
* @param string $name |
| 38 |
* @return list<string> |
| 39 |
*/ |
| 40 |
public function getAll( string $name ): array; |
| 41 |
|
| 42 |
/** |
| 43 |
* @param string $name |
| 44 |
* @return bool |
| 45 |
*/ |
| 46 |
public function has( string $name ): bool; |
| 47 |
|
| 48 |
/** |
| 49 |
* @param string $name |
| 50 |
* @param string $value |
| 51 |
* @return void |
| 52 |
*/ |
| 53 |
public function set( string $name, string $value ): void; |
| 54 |
|
| 55 |
/** |
| 56 |
* @return void |
| 57 |
*/ |
| 58 |
public function sort(): void; |
| 59 |
|
| 60 |
/** |
| 61 |
* @return \Iterator<string,string> Pair iterator: string => string |
| 62 |
*/ |
| 63 |
public function getIterator(): \Iterator; |
| 64 |
|
| 65 |
/** |
| 66 |
* @return string |
| 67 |
*/ |
| 68 |
public function toString(): string; |
| 69 |
|
| 70 |
} |