You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.1 KiB
1.1 KiB
The LeafNode trait
Introduction
Allows the extended PHP DOM classes to simulate inheriting from a theoretical extended \DOMNode. This one disables all DOM child insertion methods.
trait MensBeam\HTML\LeafNode {
use Node;
public appendChild ( \DOMNode $node ) : DOMException
public insertBefore ( \DOMNode $node , \DOMNode|null $child = null ) : DOMException
public removeChild ( \DOMNode $child ) : DOMException
public replaceChild ( \DOMNode $node, \DOMNode $child ) : DOMException
}