code: public function list(QueryBuilderRequest $request)
      {
          $object = QueryBuilder::for($this->resource, $request)->paginate();
  
          return $this->response->collection($object);
      }
docs: List
  
  @param QueryBuilderRequest $request
  @return AnonymousResourceCollection|UserResource[]