# The DOMParentNode interface

(PHP 8)

## 接口摘要

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

## 目录

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

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