public function paginate(int $page = 1, int $perPage = 25) : self
    {
        return $this->limit($perPage, ($page - 1) * $perPage);
    }
public function paginate(int $page = 1, int $perPage = 25) : self
    {
        return $this->limit($perPage, ($page - 1) * $perPage);
    }
public function paginate ( int $ page = 1 , int $ perPage = 25 ) : self { return $ this -> limit ( $ perPage , ( $ page - 1 ) * $ perPage ) ; }
Get a part of the data
@param  int|integer $page    the page number to get (1-based), defaults to 1
@param  int|integer $perPage the number of records per page - defaults to 25
@return $this
Get a part of the data