# The ContainerNode trait # ## Introduction ## Allows the extended PHP DOM classes to simulate inheriting from a theoretical extended [\DOMNode](https://www.php.net/manual/en/class.domnode.php). 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
}