Contao\Database\Result::fetchAssoc PHP Method

fetchAssoc() public method

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