Debian Codegraph @

vendor/wikimedia/idle-dom/src/TimeRanges.php

raw
1 <?php
2
3 // AUTOMATICALLY GENERATED. DO NOT EDIT.
4 // Use `composer build` to regenerate.
5
6 namespace Wikimedia\IDLeDOM;
7
8 /**
9 * TimeRanges
10 *
11 * @see https://dom.spec.whatwg.org/#interface-timeranges
12 *
13 * @property int $length
14 * @phan-forbid-undeclared-magic-properties
15 */
16 interface TimeRanges {
17 /**
18 * @return int
19 */
20 public function getLength(): int;
21
22 /**
23 * @param int $index
24 * @return float
25 */
26 public function start( int $index ): float;
27
28 /**
29 * @param int $index
30 * @return float
31 */
32 public function end( int $index ): float;
33
34 }