library/Paginator/MongoPaginatorAdapter.php
public function getItems($offset, $itemCountPerPage)
    {
        $this->cursor->skip($offset);
        $this->cursor->limit($itemCountPerPage);

        $resultSet = clone $this->resultSetPrototype;
        $resultSet->initialize($this->cursor);

        return $resultSet;
    }
public function getItems($offset, $itemCountPerPage)
    {
        $this->cursor->skip($offset);
        $this->cursor->limit($itemCountPerPage);

        $resultSet = clone $this->resultSetPrototype;
        $resultSet->initialize($this->cursor);

        return $resultSet;
    }
public function getItems ( $ offset , $ itemCountPerPage ) { $ this -> cursor -> skip ( $ offset ) ; $ this -> cursor -> limit ( $ itemCountPerPage ) ; $ resultSet = clone $ this -> resultSetPrototype ; $ resultSet -> initialize ( $ this -> cursor ) ; return $ resultSet ; }
Returns an result set of items for a page.

@param  int $offset           Page offset
@param  int $itemCountPerPage Number of items per page
@return HydratingResultSet
Returns an result set of items for a page .