You are here

private function QueryPath::getFirstMatch in QueryPath 7.3

Same name and namespace in other branches
  1. 6 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();
}