protected function buildEndEmphasized($squeezeTo, $numberOfPages)
    {
        $pages = $this->newPages($numberOfPages);

        $this->addPages($pages, 1, static::$defaultSqueezeSpace);

        $this->addPlaceHolder($pages);

        $leftOffset = $squeezeTo - (static::$defaultSqueezeSpace + 1);
        $this->addPages($pages, $numberOfPages - $leftOffset, $numberOfPages);

        return $pages;
    }
protected function buildEndEmphasized($squeezeTo, $numberOfPages)
    {
        $pages = $this->newPages($numberOfPages);

        $this->addPages($pages, 1, static::$defaultSqueezeSpace);

        $this->addPlaceHolder($pages);

        $leftOffset = $squeezeTo - (static::$defaultSqueezeSpace + 1);
        $this->addPages($pages, $numberOfPages - $leftOffset, $numberOfPages);

        return $pages;
    }
protected function buildEndEmphasized ( $ squeezeTo , $ numberOfPages ) { $ pages = $ this -> newPages ( $ numberOfPages ) ; $ this -> addPages ( $ pages , 1 , static :: $ defaultSqueezeSpace ) ; $ this -> addPlaceHolder ( $ pages ) ; $ leftOffset = $ squeezeTo - ( static :: $ defaultSqueezeSpace + 1 ) ; $ this -> addPages ( $ pages , $ numberOfPages - $ leftOffset , $ numberOfPages ) ; return $ pages ; }
Build pages for the last pages. Many pages at the end will be visible,
less at the start.

@param int $squeezeTo
@param int $numberOfPages

@return Pages
Build pages for the last pages . Many pages at the end will be visible less at the start .