The Dom\ParentNode interface
(PHP 8 >= 8.4.0)
Introduction
This is the modern, spec-compliant equivalent of DOMParentNode.
Interface synopsis
interface Dom\ParentNode {
/* Methods */
}Table of Contents
- Dom\ParentNode::append — Appends nodes after the last child node
- Dom\ParentNode::prepend — Prepends nodes before the first child node
- Dom\ParentNode::querySelector — Returns the first element that matches the CSS selectors
- Dom\ParentNode::querySelectorAll — Returns a collection of elements that match the CSS selectors
- Dom\ParentNode::replaceChildren — Replace children in node
↑ and ↓ to navigate • Enter to select • Esc to close • / to open