You are here

private function QueryPath::getFirstMatch in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/QueryPath.php \QueryPath::getFirstMatch()
  2. 7.2 QueryPath/QueryPath.php \QueryPath::getFirstMatch()
8 calls to QueryPath::getFirstMatch()
QueryPath::attr in QueryPath/QueryPath.php
QueryPath::html in QueryPath/QueryPath.php
QueryPath::innerXHTML in QueryPath/QueryPath.php
QueryPath::innerXML in QueryPath/QueryPath.php
QueryPath::replaceAll in QueryPath/QueryPath.php

... See full list

File

QueryPath/QueryPath.php, line 1933

Class

QueryPath

Code

private function getFirstMatch() {
  $this->matches
    ->rewind();
  return $this->matches
    ->current();
}