src/Paginator/Adapter/DoctrineMongoCursor.php
public function getItems($offset, $itemCountPerPage)
    {
        return $this->cursor
                    ->skip($offset)
                    ->limit($itemCountPerPage)
                    ->toArray();
    }
public function getItems($offset, $itemCountPerPage)
    {
        return $this->cursor
                    ->skip($offset)
                    ->limit($itemCountPerPage)
                    ->toArray();
    }
{@inheritDoc}