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