Debian Codegraph @

vendor/wikimedia/idle-dom/src/MutationObserver.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 * MutationObserver
10 *
11 * @see https://dom.spec.whatwg.org/#interface-mutationobserver
12 *
13 * @phan-forbid-undeclared-magic-properties
14 */
15 interface MutationObserver {
16
17 /**
18 * @param Node $target
19 * @param MutationObserverInit|associative-array|null $options
20 * @return void
21 */
22 public function observe( /* Node */ $target, /* ?mixed */ $options = null ): void;
23
24 /**
25 * @return void
26 */
27 public function disconnect(): void;
28
29 /**
30 * @return list<MutationRecord>
31 */
32 public function takeRecords(): array;
33
34 }