public function before($nodes) {
    foreach ($this->nodes as $i => $node) {
      $node->before($i === 0 ? $nodes : clone $nodes);
    }
    return $this;
  }
public function before($nodes) {
    foreach ($this->nodes as $i => $node) {
      $node->before($i === 0 ? $nodes : clone $nodes);
    }
    return $this;
  }
public function before ( $ nodes ) { foreach ( $ this -> nodes as $ i => $ node ) { $ node -> before ( $ i === 0 ? $ nodes : clone $ nodes ) ; } return $ this ; }
Insert nodes before each node in the set of matched nodes.
@param Node|Node[]|NodeCollection $nodes Nodes to insert.
@return $this
Insert nodes before each node in the set of matched nodes .