Rewinds the Iterator to the first element.

@return void
771192
public function rewind()
    {
        if (!$this->rewindable && !$this->firstCross) {
            throw new \Exception('Unable to traverse not rewindable iterator multiple time');
        }
        $this->firstCross = false;
        $this->position = 0;
    }
791020
public function rewind()
    {
        $this->dir->rewind();
        $this->iter = 0;
        $this->hasNext();
        $this->cur_entry = $this->next_entry;
        $this->next_entry = null;
    }
78568
public function rewind()
    {
        if (null === $this->headerRowNumber) {
            $this->pointer = 0;
        } else {
            $this->pointer = $this->headerRowNumber + 1;
        }
    }
184498
public function rewind()
    {
        if (!($this->inputStream instanceof Seekable)) {
            return;
        }

        $this->inputStream->seek(0, Seekable::SET);
        $this->lineNumber  = 0;
        $this->currentLine = null;
        $this->next();
    }
383266
public function rewind() {
		reset($this->_data);
		reset($this->_updated);
		$this->_valid = (count($this->_updated) > 0);
		return current($this->_updated);
	}
241092
public function rewind()
    {
        $this->file->rewind();
        if (null !== $this->headerRowNumber) {
            $this->file->seek($this->headerRowNumber + 1);
        }
    }
85099
public function rewind()
    {
        //echo 'r';
        $this->iterators->rewind();
        if (!$this->iterators->valid()) {
            $this->currentIterator = new ArrayIterator(array());
        } else {
            $this->currentIterator = $this->iterators->current();
        }
        $this->currentIterator->rewind();
    }
1355009
public function rewind()
    {
        if (is_array($this->val)) {
            $this->assocArray = $this->isAssocArray($this->val);
        }
        $this->position = 0;
    }
868079
public function rewind()
    {
        $this->firstItemIdx = 0;
        $this->endItemIdx = null;

        $rewoundItem = $this->items->rewind();

        if (isset($this->firstItems[$this->firstItemIdx])) {
            return $this->firstItems[$this->firstItemIdx][1];
        } else {
            if ($rewoundItem) {
                return $this->extractValue($rewoundItem, $this->titleField);
            } else {
                if (!$this->items->valid() && $this->lastItems) {
                    $this->endItemIdx = 0;

                    return $this->lastItems[0][1];
                }
            }
        }
    }
1197944
public function rewind() {
    // Reset request to start from original offset.
    if ($this->response !== null) {
      if (isset($this->origin)) {
        $this->request->getOffset()->copyFrom($this->origin);
      } else {
        $this->request->clearOffset();
      }
    }

    $this->current = null;
    $this->response = null;
    $this->position = 0;
  }
681270
public function rewind() {
    $this->nodeIterator->rewind();
    $this->currentAttributes = $this->nodeIterator->current()->getValueNames(false);
    $this->currentAttribute = current($this->currentAttributes);
    $this->end = (sizeof($this->currentAttributes) == 0);
  }
642569
public function rewind()
        {
            rewind($this->_getFilePointer());

            $this->_currentRow = $this->_readLine();
            $this->_rowCounter = 0;
        }
683072
public function rewind()
    {
        $this->dataStreams = null;
        $this->currentDataStream = 0;
        foreach ($this->dataStreams() as $dataStream) {
            $dataStream->rewind();
        }
    }
929563
public function rewind()
    {
        $cursor = $this;
        $this->retry(function() use ($cursor) {
            $cursor->getRiakCursor()->rewind();
        }, false);
    }
167960
public function rewind()
    {
        $this->rewindAndSkipBom();

        $this->numReadRows = 0;
        $this->rowDataBuffer = null;

        $this->next();
    }
56458
public function rewind()
    {
        if (!$this->sorted) {
            $this->entities = array_reverse($this->entities);
            $this->sorted = true;
        }

        parent::rewind();
    }
249665
public function rewind()
    {
        $this->index = 0;
        $this->length = null;
        $this->end = false;

        $this->iterator->rewind();

        // Prefetch the next element
        if ($this->iterator->valid()) {
            $this->validOnNext = true;
            $this->prefetch();
        } else {
            $this->validOnNext = false;
        }

        if ($this->uses_groups) {
            // Notify the grouping helper of the change
            $this->groups->reset();
        }
    }