code: public function getManyPaginated($perPage = null, $columns = ['*'])
      {
          $query = $this->getQuery();
          $results = $query->paginate($perPage, $columns);
  
          return $this->returnResults($results);
      }
docs: Find all models but paginated
  
  @param null $perPage
  @param array $columns
  @return mixed