src/Paginator/Paginator.php
public function getPages($scrollingStyle = null)
    {
        if ($this->pages === null) {
            $this->pages = $this->_createPages($scrollingStyle);
        }

        return $this->pages;
    }
public function getPages($scrollingStyle = null)
    {
        if ($this->pages === null) {
            $this->pages = $this->_createPages($scrollingStyle);
        }

        return $this->pages;
    }
public function getPages ( $ scrollingStyle = null ) { if ( $ this -> pages === null ) { $ this -> pages = $ this -> _createPages ( $ scrollingStyle ) ; } return $ this -> pages ; }
Returns the page collection.

@param  string $scrollingStyle Scrolling style
@return array
Returns the page collection .