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
6namespace Wikimedia\IDLeDOM;
7
8/**
9 * NodeList
10 *
11 * @see https://dom.spec.whatwg.org/#interface-nodelist
12 *
13 * @property int $length
14 * @phan-forbid-undeclared-magic-properties
15 */
16interface NodeList extends \ArrayAccess, \IteratorAggregate, \Countable {
17    /**
18     * @param int $index
19     * @return Node|null
20     */
21    public function item( int $index );
22
23    /**
24     * @return int
25     */
26    public function getLength(): int;
27
28    /**
29     * @return \Iterator<Node> Value iterator returning Node items
30     */
31    public function getIterator(): \Iterator;
32
33}