You are here

public function QueryPath::attach in QueryPath 6

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

File

QueryPath/QueryPath.php, line 1608

Class

QueryPath

Code

public function attach(QueryPath $dest) {
  foreach ($this->last as $m) {
    $dest
      ->append($m);
  }
  return $this;
}