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 * HTMLCollection
10 *
11 * @see https://dom.spec.whatwg.org/#interface-htmlcollection
12 *
13 * @property int $length
14 * @phan-forbid-undeclared-magic-properties
15 */
16interface HTMLCollection extends \ArrayAccess, \IteratorAggregate, \Countable {
17    /**
18     * @return int
19     */
20    public function getLength(): int;
21
22    /**
23     * @param int $index
24     * @return Element|null
25     */
26    public function item( int $index );
27
28    /**
29     * @param string $name
30     * @return Element|null
31     */
32    public function namedItem( string $name );
33
34    /**
35     * @return \Iterator<Element> Value iterator returning Element items
36     */
37    public function getIterator(): \Iterator;
38
39}