Modern DOM library written in PHP for HTML documents
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.

901 B

The ContainerNode trait

Introduction

Allows the extended PHP DOM classes to simulate inheriting from a theoretical extended \DOMNode. This one implements improved DOM child insertion methods.

trait MensBeam\HTML\ContainerNode {

    use Node;

    public appendChild ( \DOMNode $node ) : \DOMNode|false
    public insertBefore ( \DOMNode $node , \DOMNode|null $child = null ) : \DOMNode|false

}