| 1 |
<?php |
| 2 |
|
| 3 |
// AUTOMATICALLY GENERATED. DO NOT EDIT. |
| 4 |
// Use `composer build` to regenerate. |
| 5 |
|
| 6 |
namespace Wikimedia\IDLeDOM; |
| 7 |
|
| 8 |
/** |
| 9 |
* AbstractRange |
| 10 |
* |
| 11 |
* @see https://dom.spec.whatwg.org/#interface-abstractrange |
| 12 |
* |
| 13 |
* @property Node $startContainer |
| 14 |
* @property int $startOffset |
| 15 |
* @property Node $endContainer |
| 16 |
* @property int $endOffset |
| 17 |
* @property bool $collapsed |
| 18 |
* @phan-forbid-undeclared-magic-properties |
| 19 |
*/ |
| 20 |
interface AbstractRange { |
| 21 |
/** |
| 22 |
* @return Node |
| 23 |
*/ |
| 24 |
public function getStartContainer(); |
| 25 |
|
| 26 |
/** |
| 27 |
* @return int |
| 28 |
*/ |
| 29 |
public function getStartOffset(): int; |
| 30 |
|
| 31 |
/** |
| 32 |
* @return Node |
| 33 |
*/ |
| 34 |
public function getEndContainer(); |
| 35 |
|
| 36 |
/** |
| 37 |
* @return int |
| 38 |
*/ |
| 39 |
public function getEndOffset(): int; |
| 40 |
|
| 41 |
/** |
| 42 |
* @return bool |
| 43 |
*/ |
| 44 |
public function getCollapsed(): bool; |
| 45 |
|
| 46 |
} |