DOMNode::removeChild
This functions removes a child from a list of children
public function removeChild(
DOMNode $node,
): DOMNode;
Parameters
DOMNode$node- The removed child.
Returns
mixed- - If the child could be removed the functions returns the old child.