# The DOMParentNode interface

(PHP 8)

## 接口摘要

interface DOMParentNode {
/* 方法 */
public function append(DOMNode|string `...$nodes`): void
public function prepend(DOMNode|string `...$nodes`): void
public function 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