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 | * NamedNodeMap |
10 | * |
11 | * @see https://dom.spec.whatwg.org/#interface-namednodemap |
12 | * |
13 | * @property int $length |
14 | * @phan-forbid-undeclared-magic-properties |
15 | */ |
16 | interface NamedNodeMap extends \ArrayAccess, \IteratorAggregate, \Countable { |
17 | /** |
18 | * @return int |
19 | */ |
20 | public function getLength(): int; |
21 | |
22 | /** |
23 | * @param int $index |
24 | * @return Attr|null |
25 | */ |
26 | public function item( int $index ); |
27 | |
28 | /** |
29 | * @param string $qualifiedName |
30 | * @return Attr|null |
31 | */ |
32 | public function getNamedItem( string $qualifiedName ); |
33 | |
34 | /** |
35 | * @param ?string $namespace |
36 | * @param string $localName |
37 | * @return Attr|null |
38 | */ |
39 | public function getNamedItemNS( ?string $namespace, string $localName ); |
40 | |
41 | /** |
42 | * @param Attr $attr |
43 | * @return Attr|null |
44 | */ |
45 | public function setNamedItem( /* Attr */ $attr ); |
46 | |
47 | /** |
48 | * @param Attr $attr |
49 | * @return Attr|null |
50 | */ |
51 | public function setNamedItemNS( /* Attr */ $attr ); |
52 | |
53 | /** |
54 | * @param string $qualifiedName |
55 | * @return Attr |
56 | */ |
57 | public function removeNamedItem( string $qualifiedName ); |
58 | |
59 | /** |
60 | * @param ?string $namespace |
61 | * @param string $localName |
62 | * @return Attr |
63 | */ |
64 | public function removeNamedItemNS( ?string $namespace, string $localName ); |
65 | |
66 | /** |
67 | * @return \Iterator<Attr> Value iterator returning Attr items |
68 | */ |
69 | public function getIterator(): \Iterator; |
70 | |
71 | } |