src/Repository/DoctrineMongoODM/PaginatorAdapter/EagerCursor.php
public function getItems($offset, $itemCountPerPage)
    {
        $cursor = clone $this->cursor;
    
        //$cursor->recreate();
        $cursor->skip($offset);
        $cursor->limit($itemCountPerPage);
    
        return $cursor;
    }
public function getItems($offset, $itemCountPerPage)
    {
        $cursor = clone $this->cursor;
    
        //$cursor->recreate();
        $cursor->skip($offset);
        $cursor->limit($itemCountPerPage);
    
        return $cursor;
    }
{@inheritDoc}