yii\db\DataReader::readAll PHP Méthode

readAll() public méthode

Reads the whole result set into an array.
public readAll ( ) : array
Résultat array the result set (each array element represents a row of data). An empty array will be returned if the result contains no row.
    public function readAll()
    {
        return $this->_statement->fetchAll();
    }