src/Model/BaseModel.php
public static function getAll($offset = null, $limit = null)
    {
        $query = self::find();
        self::addPaginationParameters($query, $offset, $limit);
        return $query->all();
    }
public static function getAll($offset = null, $limit = null)
    {
        $query = self::find();
        self::addPaginationParameters($query, $offset, $limit);
        return $query->all();
    }
Get all model rows
@author Adeyemi Olaoye <yemi@cottacush.com>
@param null $offset
@param null $limit
@return array|\yii\db\ActiveRecord[]