Contao\Database\Result::fetchRow PHP Method

fetchRow() public method

Fetch the current row as enumerated array
public fetchRow ( ) : array | false
return array | false The row as enumerated array or false if there is no row
    public function fetchRow()
    {
        if ($this->intIndex >= $this->count() - 1) {
            return false;
        }
        $this->arrCache = array_values($this->resultSet[++$this->intIndex]);
        return $this->arrCache;
    }