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 * Text
10 *
11 * @see https://dom.spec.whatwg.org/#interface-text
12 *
13 * @property int $nodeType
14 * @property string $nodeName
15 * @property string $baseURI
16 * @property bool $isConnected
17 * @property Document|null $ownerDocument
18 * @property Node|null $parentNode
19 * @property Element|null $parentElement
20 * @property NodeList $childNodes
21 * @property Node|null $firstChild
22 * @property Node|null $lastChild
23 * @property Node|null $previousSibling
24 * @property Node|null $nextSibling
25 * @property ?string $nodeValue
26 * @property ?string $textContent
27 * @property Element|null $previousElementSibling
28 * @property Element|null $nextElementSibling
29 * @property string $data
30 * @property int $length
31 * @property HTMLSlotElement|null $assignedSlot
32 * @property string $wholeText
33 * @phan-forbid-undeclared-magic-properties
34 */
35interface Text extends CharacterData, Slottable {
36    // Direct parent: CharacterData
37
38    /**
39     * @param int $offset
40     * @return \Wikimedia\IDLeDOM\Text
41     */
42    public function splitText( int $offset );
43
44    /**
45     * @return string
46     */
47    public function getWholeText(): string;
48
49}