/** * @param \DOMNode $node * @return \DOMNode */ public function cloneAndPrependChild(\DOMNode $node) { return DOMStatic::prependTo($node->cloneNode(true), $this); }
/** * @param \DOMNode $destinationNode * @return \DOMNode */ public function cloneAndPrependTo(\DOMNode $destinationNode) { return DOMStatic::prependTo($this->cloneNode(true), $destinationNode); }