public function getPageNumbers(array $pages, $current)
    {
        $offset = $current * $this->step;
        return array_slice($pages, $offset, $this->step);
    }
public function getPageNumbers(array $pages, $current)
    {
        $offset = $current * $this->step;
        return array_slice($pages, $offset, $this->step);
    }
public function getPageNumbers ( array $ pages , $ current ) { $ offset = $ current * $ this -> step ; return array_slice ( $ pages , $ offset , $ this -> step ) ; }
Filter page numbers via current style adapter

@param array $page Array of page numbers
@param integer $current Current page number
@return array
Filter page numbers via current style adapter