src/Db/DataReader.php
public function current()
    {
        return is_array($this->_row) ? $this->_command->fetchResultsRow($this->_row, CommandInterface::FETCH_ROW, $this->_fetchMode) : $this->_row;
    }
public function current()
    {
        return is_array($this->_row) ? $this->_command->fetchResultsRow($this->_row, CommandInterface::FETCH_ROW, $this->_fetchMode) : $this->_row;
    }
Returns the current row.
This method is required by the interface [[\Iterator]].
@return mixed the current row.