Alcaeus\MongoDbAdapter\AbstractCursor::reset PHP Method

reset() protected method

This is generic but implemented as protected since it's only exposed in MongoCursor
protected reset ( )
    protected function reset()
    {
        $this->startedIterating = false;
        $this->cursor = null;
        $this->iterator = null;
        $this->storeIteratorState();
    }

Usage Example

Example #1
0
 /**
  * Clears the cursor
  * @link http://www.php.net/manual/en/mongocursor.reset.php
  * @return void
  */
 public function reset()
 {
     parent::reset();
 }