Debian Codegraph @

vendor/wikimedia/idle-dom/src/MutationCallback.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 * MutationCallback
10 *
11 * @see https://dom.spec.whatwg.org/#callbackdef-mutationcallback
12 *
13 * @phan-forbid-undeclared-magic-properties
14 */
15 interface MutationCallback {
16 /**
17 * @param list<MutationRecord> $mutations
18 * @param MutationObserver $observer
19 * @return void
20 */
21 public function invoke( array $mutations, /* MutationObserver */ $observer ): void;
22 }