The Dom\ParentNode interface
(PHP 8 >= 8.4.0)
简介
This is the modern, spec-compliant equivalent of DOMParentNode.
接口摘要
interface Dom\ParentNode {
/* 方法 */
}目录
- 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