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