# The DOMChildNode interface

(PHP 8)

## Interface-Übersicht

interface DOMChildNode {
/* Methoden */
public function after(DOMNode|string `...$nodes`): void
public function before(DOMNode|string `...$nodes`): void
public function remove(): void
public function replaceWith(DOMNode|string `...$nodes`): void
}

## Inhaltsverzeichnis

- DOMChildNode::after — Adds nodes after the node
- DOMChildNode::before — Adds nodes before the node
- DOMChildNode::remove — Removes the node
- DOMChildNode::replaceWith — Replaces the node with new nodes

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open