public function rewind()
    {
        // We can recreate the cursor to allow it to be rewound
        $this->reset();
        $this->startedIterating = true;
        $this->position = 0;
        $this->ensureIterator()->rewind();
        $this->storeIteratorState();
    }
public function rewind()
    {
        // We can recreate the cursor to allow it to be rewound
        $this->reset();
        $this->startedIterating = true;
        $this->position = 0;
        $this->ensureIterator()->rewind();
        $this->storeIteratorState();
    }
public function rewind ( ) { // We can recreate the cursor to allow it to be rewound $ this -> reset ( ) ; $ this -> startedIterating = true ; $ this -> position = 0 ; $ this -> ensureIterator ( ) -> rewind ( ) ; $ this -> storeIteratorState ( ) ; }
Returns the cursor to the beginning of the result set
@throws \MongoConnectionException
@throws \MongoCursorTimeoutException
@return void
Returns the cursor to the beginning of the result set