# The DOMParentNode interface

(PHP 8)

## Sinopsis de la Interfaz

interface DOMParentNode {
/* Métodos */
public append(DOMNode|string `...$nodes`): void
public prepend(DOMNode|string `...$nodes`): void
public replaceChildren(DOMNode|string `...$nodes`): void
}

## Tabla de contenidos

- DOMParentNode::append — Appends nodes after the last child node
- DOMParentNode::prepend — Prepends nodes before the first child node
- DOMParentNode::replaceChildren — Replace children in node