private function createFullPages()
    {
        $pageStart = 1;
        $pageEnd = $this->maxPage;
        $tmp = $this->currentPage;
        $pager = [];
        while (($pageEnd - $tmp) < 4) {
            $tmp--; // @codeCoverageIgnore
        }

        if ($tmp != $this->currentPage) {
            $pageStart = 1 + ($tmp - 5); // @codeCoverageIgnore
        }

        if ($this->currentPage > 5 && $this->currentPage == $tmp) {
            $pageStart = 1 + ($this->currentPage - 5);
        }

        $page = 0;
        for ($i = $pageStart; $i < $tmp; $i++) {
            $pager[$page] = '<a href="' . $this->buildHref($i) . '">' . $i . '</a>';
            $page++;
        }

        for ($i = $tmp; $i <= $pageEnd && $page < 9; $i++) {
            $pager[$page] = $this->buildAnchor($i);
            $page++;
        }
        return $pager;
    }
private function createFullPages()
    {
        $pageStart = 1;
        $pageEnd = $this->maxPage;
        $tmp = $this->currentPage;
        $pager = [];
        while (($pageEnd - $tmp) < 4) {
            $tmp--; // @codeCoverageIgnore
        }

        if ($tmp != $this->currentPage) {
            $pageStart = 1 + ($tmp - 5); // @codeCoverageIgnore
        }

        if ($this->currentPage > 5 && $this->currentPage == $tmp) {
            $pageStart = 1 + ($this->currentPage - 5);
        }

        $page = 0;
        for ($i = $pageStart; $i < $tmp; $i++) {
            $pager[$page] = '<a href="' . $this->buildHref($i) . '">' . $i . '</a>';
            $page++;
        }

        for ($i = $tmp; $i <= $pageEnd && $page < 9; $i++) {
            $pager[$page] = $this->buildAnchor($i);
            $page++;
        }
        return $pager;
    }
private function createFullPages ( ) { $ pageStart = 1 ; $ pageEnd = $ this -> maxPage ; $ tmp = $ this -> currentPage ; $ pager = [ ] ; while ( ( $ pageEnd - $ tmp ) < 4 ) { $ tmp -- ; // @codeCoverageIgnore } if ( $ tmp != $ this -> currentPage ) { $ pageStart = 1 + ( $ tmp - 5 ) ; // @codeCoverageIgnore } if ( $ this -> currentPage > 5 && $ this -> currentPage == $ tmp ) { $ pageStart = 1 + ( $ this -> currentPage - 5 ) ; } $ page = 0 ; for ( $ i = $ pageStart ; $ i < $ tmp ; $ i ++ ) { $ pager [ $ page ] = '<a href="' . $ this -> buildHref ( $ i ) . '">' . $ i . '</a>' ; $ page ++ ; } for ( $ i = $ tmp ; $ i <= $ pageEnd && $ page < 9 ; $ i ++ ) { $ pager [ $ page ] = $ this -> buildAnchor ( $ i ) ; $ page ++ ; } return $ pager ; }
Generates anchors to be displayed when max page is over 9.

@return array
Generates anchors to be displayed when max page is over 9 .