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 | * MediaList |
10 | * |
11 | * @see https://dom.spec.whatwg.org/#interface-medialist |
12 | * |
13 | * @property string $mediaText |
14 | * @property int $length |
15 | * @phan-forbid-undeclared-magic-properties |
16 | */ |
17 | interface MediaList extends \ArrayAccess { |
18 | /** |
19 | * @return string |
20 | */ |
21 | public function getMediaText(): string; |
22 | |
23 | /** |
24 | * @param ?string $val |
25 | */ |
26 | public function setMediaText( ?string $val ): void; |
27 | |
28 | /** |
29 | * @return int |
30 | */ |
31 | public function getLength(): int; |
32 | |
33 | /** |
34 | * @param int $index |
35 | * @return ?string |
36 | */ |
37 | public function item( int $index ): ?string; |
38 | |
39 | /** |
40 | * @param string $medium |
41 | * @return void |
42 | */ |
43 | public function appendMedium( string $medium ): void; |
44 | |
45 | /** |
46 | * @param string $medium |
47 | * @return void |
48 | */ |
49 | public function deleteMedium( string $medium ): void; |
50 | |
51 | } |