« DOMNotation
DOMParentNode::append »
PHP Manual
DOM
The DOMParentNode interface
The DOMParentNode interface
(PHP 8)
Interface synopsis
interface
DOMParentNode
{
/* Methods */
public
append
(
DOMNode
|
string
...$nodes
):
void
public
prepend
(
DOMNode
|
string
...$nodes
):
void
public
replaceChildren
(
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
DOMParentNode::replaceChildren
— Replace children in node