Debian Codegraph @

vendor/wikimedia/idle-dom/src/ChildNode.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 * ChildNode
10 *
11 * @see https://dom.spec.whatwg.org/#interface-childnode
12 *
13 * @phan-forbid-undeclared-magic-properties
14 */
15 interface ChildNode {
16 /**
17 * @param Node|string ...$nodes
18 * @return void
19 */
20 public function before( /* mixed */ ...$nodes ): void;
21
22 /**
23 * @param Node|string ...$nodes
24 * @return void
25 */
26 public function after( /* mixed */ ...$nodes ): void;
27
28 /**
29 * @param Node|string ...$nodes
30 * @return void
31 */
32 public function replaceWith( /* mixed */ ...$nodes ): void;
33
34 /**
35 * @return void
36 */
37 public function remove(): void;
38
39 }