code: public function get($limit = null)
      {
          if ($limit) {
              $this->builder->take($limit);
          }
          return $this->builder->get();
      }
docs: Paginate the given query into a simple paginator.
  
  @param int $perPage
  @param array $columns
  @param string $pageName
  @param int|null $page
  @return \Illuminate\Contracts\Pagination\LengthAwarePaginator