use <ahref="../Node/index.html">Node</a>, <ahref="../Walk/index.html">Walk</a>;
use <ahref="../ContainerNode/index.html">ContainerNode</a>, <ahref="../Walk/index.html">Walk</a>;
/* Constants */
public const NO_QUIRKS_MODE = 0 ;
@ -26,28 +26,26 @@ Represents an entire HTML document; serves as the root of the document tree. Unl
public string|null <ahref="#document-props-documentencoding">$documentEncoding</a> = null ;
public int <ahref="#document-props-quirksmode">$quirksMode</a> = 0 ;
/* Inherited properties from <ahref="https://www.php.net/manual/en/class.domdocument.php">\DOMDocument</a> */
/* Inherited properties */
public readonly <ahref="https://www.php.net/manual/en/class.domnamednodemap.php">\DOMNamedNodeMap</a>|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.attributes">$attributes</a> ;
public readonly string|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.baseuri">$baseURI</a> ;
public readonly <ahref="https://www.php.net/manual/en/class.domnodelist.php">\DOMNodeList</a><ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.childnodes">$childNodes</a> ;
public readonly DocumentType <ahref="https://www.php.net/manual/en/class.domdocument.php#domdocument.props.doctype">$doctype</a> ;
public readonly Element <ahref="https://www.php.net/manual/en/class.domdocument.php#domdocument.props.documentelement">$documentElement</a> ;
public string|null <ahref="https://www.php.net/manual/en/class.domdocument.php#domdocument.props.documenturi">$documentURI</a> ;
public readonly <ahref="https://www.php.net/manual/en/class.domnode.php">\DOMNode</a>|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.firstchild">$firstChild</a> ;
public readonly <ahref="https://www.php.net/manual/en/class.domimplementation.php">\DOMImplementation</a><ahref="https://www.php.net/manual/en/class.domdocument.php#domdocument.props.implementation">$implementation</a> ;
/* Inherited properties from <ahref="https://www.php.net/manual/en/class.domnode.php">\DOMNode</a> */
public readonly <ahref="https://www.php.net/manual/en/class.domnode.php">\DOMNode</a>|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.lastchild">$lastChild</a> ;
public readonly string <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.localname">$localName</a> ;
public readonly string|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.namespaceuri">$namespaceURI</a> ;
public readonly <ahref="https://www.php.net/manual/en/class.domnode.php">\DOMNode</a>|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.nextsibling">$nextSibling</a> ;
public readonly string <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.nodename">$nodeName</a> ;
public string <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.nodevalue">$nodeValue</a> ;
public readonly int <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.nodetype">$nodeType</a> ;
public readonly <ahref="https://www.php.net/manual/en/class.domnode.php">\DOMNode</a>|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.parentnode">$parentNode</a> ;
public readonly <ahref="https://www.php.net/manual/en/class.domnodelist.php">\DOMNodeList</a><ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.childnodes">$childNodes</a> ;
public readonly <ahref="https://www.php.net/manual/en/class.domnode.php">\DOMNode</a>|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.firstchild">$firstChild</a> ;
public readonly <ahref="https://www.php.net/manual/en/class.domnode.php">\DOMNode</a>|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.lastchild">$lastChild</a> ;
public readonly <ahref="https://www.php.net/manual/en/class.domnode.php">\DOMNode</a>|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.previoussibling">$previousSibling</a> ;
public readonly <ahref="https://www.php.net/manual/en/class.domnode.php">\DOMNode</a>|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.nextsibling">$nextSibling</a> ;
public readonly <ahref="https://www.php.net/manual/en/class.domnamednodemap.php">\DOMNamedNodeMap</a>|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.attributes">$attributes</a> ;
public readonly Document|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.ownerdocument">$ownerDocument</a> ;
public readonly string|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.namespaceuri">$namespaceURI</a> ;
public readonly <ahref="https://www.php.net/manual/en/class.domnode.php">\DOMNode</a>|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.parentnode">$parentNode</a> ;
public string <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.prefix">$prefix</a> ;
public readonly string <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.localname">$localName</a> ;
public readonly string|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.baseuri">$baseURI</a> ;
public readonly <ahref="https://www.php.net/manual/en/class.domnode.php">\DOMNode</a>|null <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.previoussibling">$previousSibling</a> ;
public string <ahref="https://www.php.net/manual/en/class.domnode.php#domnode.props.textcontent">$textContent</a> ;
/* Methods */
@ -63,55 +61,50 @@ Represents an entire HTML document; serves as the root of the document tree. Unl
public <ahref="validate.html">validate</a> ( ) : true
public <ahref="xinclude.html">xinclude</a> ( null $options = null ) : false
/* Trait Methods */
public <ahref="../ContainerNode/appendChild.html">ContainerNode::appendChild</a> ( <ahref="https://www.php.net/manual/en/class.domnode.php">\DOMNode</a> $node ) : <ahref="https://www.php.net/manual/en/class.domnode.php">\DOMNode</a>|false
<dd>A live <ahref="../TokenList/TokenList.html">TokenList</a> collection of the class attributes of the element. This can then be used to manipulate the class list.</dd>
<dd>Gets the serialized HTML fragment describing the element including its descendants. It can also be set to replace the element with nodes parsed from the given string.</dd>
Node::appendChild — Adds new child at the end of the children
ContainerNode::appendChild — Adds new child at the end of the children
## Description ##
```php
public Node::appendChild ( \DOMNode $node ) : \DOMNode|false
public ContainerNode::appendChild ( \DOMNode $node ) : \DOMNode|false
```
This function appends a child to an existing list of children or creates a new list of children. The child can be created with e.g. [`Document::createElement()`](https://www.php.net/manual/en/domdocument.createelement.php), [`Document::createTextNode()`](https://www.php.net/manual/en/domdocument.createtextnode.php) etc. or simply by using any other node.
This function inserts a new node right before the reference node. If you plan to do further modifications on the appended child you must use the returned node.
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.
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 disables all DOM child insertion methods.
Non-standard. Creates a [`\Generator`](https://www.php.net/manual/en/class.generator.php) object for walking up the DOM tree. This is in lieu of recreating the awful [DOM TreeWalker API](https://developer.mozilla.org/en-US/docs/Web/API/Treewalker).
Allows the extended PHP DOM classes to simulate inheriting from a theoretical extended [\DOMNode](https://www.php.net/manual/en/class.domnode.php).
Allows the extended PHP DOM classes to simulate inheriting from a theoretical extended [\DOMNode](https://www.php.net/manual/en/class.domnode.php). It is used to disable [C14N](C14N.html) and [C14NFile](C14NFile.html).
<pre><codeclass="php">trait MensBeam\HTML\Node {
public <ahref="appendChild.html">appendChild</a> ( <ahref="https://www.php.net/manual/en/class.domnode.php">\DOMNode</a> $node ) : <ahref="https://www.php.net/manual/en/class.domnode.php">\DOMNode</a>|false
Non-standard. Creates a [`\Generator`](https://www.php.net/manual/en/class.generator.php) object for walking down the DOM tree. This is in lieu of recreating the awful [DOM TreeWalker API](https://developer.mozilla.org/en-US/docs/Web/API/Treewalker).