src/Helper/PaginationLimitCalculator.php
public function getMaxPaginationLinks()
    {
        if (null === $this->maxPaginationLinks) {
            $this->setMaxPaginationLinks(\Config::get('maxPaginationLinks'));
        }

        return $this->maxPaginationLinks;
    }
public function getMaxPaginationLinks()
    {
        if (null === $this->maxPaginationLinks) {
            $this->setMaxPaginationLinks(\Config::get('maxPaginationLinks'));
        }

        return $this->maxPaginationLinks;
    }
Set the number of maximum pagination links.

@return int