You are here

public function QueryPath::prependTo in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/QueryPath.php \QueryPath::prependTo()
  2. 7.2 QueryPath/QueryPath.php \QueryPath::prependTo()

File

QueryPath/QueryPath.php, line 684

Class

QueryPath

Code

public function prependTo(QueryPath $dest) {
  foreach ($this->matches as $m) {
    $dest
      ->prepend($m);
  }
  return $this;
}