Contao\Database\Result::first PHP Méthode

first() public méthode

Go to the first row of the current result
public first ( ) : Result | boolean
Résultat Result | boolean The result object or false if there is no first row
    public function first()
    {
        $this->intIndex = 0;
        $this->blnDone = false;
        $this->arrCache = $this->resultSet[$this->intIndex];
        return $this;
    }