Debian Codegraph @

vendor/wikimedia/idle-dom/src/MutationRecord.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 * MutationRecord
10 *
11 * @see https://dom.spec.whatwg.org/#interface-mutationrecord
12 *
13 * @property string $type
14 * @property Node $target
15 * @property NodeList $addedNodes
16 * @property NodeList $removedNodes
17 * @property Node|null $previousSibling
18 * @property Node|null $nextSibling
19 * @property ?string $attributeName
20 * @property ?string $attributeNamespace
21 * @property ?string $oldValue
22 * @phan-forbid-undeclared-magic-properties
23 */
24 interface MutationRecord {
25 /**
26 * @return string
27 */
28 public function getType(): string;
29
30 /**
31 * @return Node
32 */
33 public function getTarget();
34
35 /**
36 * @return NodeList
37 */
38 public function getAddedNodes();
39
40 /**
41 * @return NodeList
42 */
43 public function getRemovedNodes();
44
45 /**
46 * @return Node|null
47 */
48 public function getPreviousSibling();
49
50 /**
51 * @return Node|null
52 */
53 public function getNextSibling();
54
55 /**
56 * @return ?string
57 */
58 public function getAttributeName(): ?string;
59
60 /**
61 * @return ?string
62 */
63 public function getAttributeNamespace(): ?string;
64
65 /**
66 * @return ?string
67 */
68 public function getOldValue(): ?string;
69
70 }