lithium\data\entity\Document::rewind()

public method

Rewinds to the first item.

Returns

mixed

The current item after rewinding.

Source

	public function rewind() {
		reset($this->_data);
		reset($this->_updated);
		$this->_valid = (count($this->_updated) > 0);
		return current($this->_updated);
	}