Rewind the Iterator to the first element.

@return void Any returned value is ignored.
@link   http://php.net/manual/en/iterator.rewind.php
496347
public function rewind()
	{
		$this->offset = 0;
		$this->startAt = 0;
		$this->current = 0;
		$this->max = 0;
		$this->total = null;
		$this->executed = false;
		$this->issues = array();
	}
763668
public function rewind()
    {
        $this->nodeCount       = count($this->nodes);
        $this->lastIdx         = $this->nodeCount - 1;
        $this->break           = false;
        $this->continue        = false;
        $this->interruptNodeId = null;

        return $this;
    }
234909
public function rewind()
    {
        if ($this->position != $this->initialPosition) {
            $this->position = $this->initialPosition;
            $this->resumptionToken = $this->initialResumptionToken;
            $this->data = array();
            $this->fetchMore();
        }
    }
486327
public function rewind()
    {
        if ($this->cacheEntriesIterator === null) {
            $this->cacheEntriesIterator = new \APCUIterator('/^' . $this->identifierPrefix . 'entry_.*/');
        } else {
            $this->cacheEntriesIterator->rewind();
        }
    }
933683
public function rewind()
	{
		$this->file->rewind();
		if ($this->useFirstRecordAsHeader)
		{
			if (!$this->file->valid())
			{
				throw new \RuntimeException('Expected first row to be header, but reached EOF instead');
			}
			$this->header = $this->file->current();
			$this->file->next();
		}
	}
1015200
public function rewind()
    {
        $this->current = null;
        foreach ($this->branch as $item) {
            $item->rewind();
        }
        reset($this->branch);
    }
817592
public function rewind()
    {
        rewind($this->handle);
        $this->isEOF = false;
        $this->isValidPosition = true;
        $this->position = 0;
    }
124541
public function rewind()
    {
        $this->index = 0;

        try {
            $this->current = $this->map->first();
        } catch (\OutOfBoundsException $e) {
            $this->current = null;
        }
    }
998393
function rewind() {
        if (!$this->unmoved) {
            $this->classIterator->rewind();
            $this->ensureNotEmpty();
            $this->unmoved = true;
        }
    }
78205
public function rewind()
	{
		if($this->_index<0)
		{
			$this->_row=$this->_statement->fetch();
			$this->_index=0;
		}
		else
			throw new CDbException(Yii::t('yii','CDbDataReader cannot rewind. It is a forward-only reader.'));
	}
604173
public function rewind()
    {
        if ($this->_index < 0) {
            $this->_row = $this->_statement->fetch();
            $this->_index = 0;
        } else {
            throw new \LogicException('DataReader cannot rewind. It is a forward-only reader.');
        }
    }
474897
final public function rewind()
    {
        $this->results = null;
        $this->offset = 0;
        $this->total = 0;
        $this->limit = 0;
        $this->position = -1;
    }
56458
public function rewind()
    {
        if (!$this->sorted) {
            $this->entities = array_reverse($this->entities);
            $this->sorted = true;
        }

        parent::rewind();
    }
388291
public function rewind()
    {
        if (PHP_VERSION_ID > 50607 || (PHP_VERSION_ID > 50523 && PHP_VERSION_ID < 50600)) {
            parent::rewind();

            return;
        }

        $iterator = $this;
        while ($iterator instanceof \OuterIterator) {
            $innerIterator = $iterator->getInnerIterator();

            if ($innerIterator instanceof RecursiveDirectoryIterator) {
                // this condition is necessary for iterators to work properly with non-local filesystems like ftp
                if ($innerIterator->isRewindable()) {
                    $innerIterator->next();
                    $innerIterator->rewind();
                }
            } elseif ($innerIterator instanceof \FilesystemIterator) {
                $innerIterator->next();
                $innerIterator->rewind();
            }

            $iterator = $innerIterator;
        }

        parent::rewind();
    }
1011593
public function rewind()
    {
        $this->getIteratorObject()->last();

        if ($this->getIteratorObject()->valid()) {
            if (($countItems = $this->countItems()) > 0) {
                $this->_itemPosition = $countItems - 1;
            } else {
                $this->_itemPosition = 0;
            }
        }
    }
1327185
public function rewind()
    {
        $this->current = null;
        if (null !== $this->search) {
            $this->search->reset();
            $this->next();
        }
    }
395888
public function rewind() : void
    {
        $r = false;
        $err = ($this->stream === null || $this->seekable === false);

        if ($err === false) {
            $r = rewind($this->stream);
        }

        if ($err === true || $r === false) {
            // @codeCoverageIgnoreStart
            throw new \RuntimeException("Could not rewind stream.");
            // @codeCoverageIgnoreEnd
        }
    }