Reset the set's iterator and return the first entity in the set. The next call of `current()` will get the first entity in the set.

Returns

object Returns the first `Entity` instance in the set.

Source

						public function rewind() {
		$this->_valid = (reset($this->_data) || count($this->_data));

		if (!$this->_valid && !$this->_hasInitialized) {
			$this->_hasInitialized = true;

			if ($entity = $this->_populate()) {
				$this->_valid = true;
				return $entity;
			}
		}
		return current($this->_data);
	}