The DOMParentNode interface
Interface synopsis
(PHP 8)
interface DOMParentNode {
/* Methods */
public append(DOMNode|string ...$nodes): void
public prepend(DOMNode|string ...$nodes): void}
Table of Contents
- DOMParentNode::append — Appends nodes after the last child node
- DOMParentNode::prepend — Prepends nodes before the first child node
© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.domparentnode.php