ConFoo 2025

The Dom\ParentNode interface

(PHP 8 >= 8.4.0)

简介

This is the modern, spec-compliant equivalent of DOMParentNode.

接口摘要

interface Dom\ParentNode {
/* 方法 */
public append(Dom\Node|string ...$nodes): void
public prepend(Dom\Node|string ...$nodes): void
public querySelector(string $selectors): ?Dom\Element
public replaceChildren(Dom\Node|string ...$nodes): void
}

目录

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top