src/Db/DataReader.php
public function readAll()
    {
        /** @var array $fetched */
        $fetched = $this->_command->fetchResults($this->_results, CommandInterface::FETCH_ALL, $this->_fetchMode);
        return $fetched;
    }
public function readAll()
    {
        /** @var array $fetched */
        $fetched = $this->_command->fetchResults($this->_results, CommandInterface::FETCH_ALL, $this->_fetchMode);
        return $fetched;
    }
Reads the whole result set into an array.
@return array the result set (each array element represents a row of data).
An empty array will be returned if the result contains no row.