code: public function getMaxPaginationLinks()
      {
          if (null === $this->maxPaginationLinks) {
              $this->setMaxPaginationLinks(\Config::get('maxPaginationLinks'));
          }
  
          return $this->maxPaginationLinks;
      }
docs: Set the number of maximum pagination links.
  
  @return int