You are here

public function QueryPath::insertAfter in QueryPath 7.2

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

File

QueryPath/QueryPath.php, line 705

Class

QueryPath

Code

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