protected function reset()
    {
        $this->startedIterating = false;
        $this->cursorNeedsAdvancing = true;
        $this->cursor = null;
        $this->iterator = null;
        $this->storeIteratorState();
    }
protected function reset()
    {
        $this->startedIterating = false;
        $this->cursorNeedsAdvancing = true;
        $this->cursor = null;
        $this->iterator = null;
        $this->storeIteratorState();
    }
protected function reset ( ) { $ this -> startedIterating = false ; $ this -> cursorNeedsAdvancing = true ; $ this -> cursor = null ; $ this -> iterator = null ; $ this -> storeIteratorState ( ) ; }
Clears the cursor

This is generic but implemented as protected since it's only exposed in MongoCursor
Clears the cursor