lithium\data\entity\Document::rewind()
Rewinds to the first item.
Returns
mixedThe current item after rewinding.
Source
#[ReturnTypeWillChange]
public function rewind(): mixed {
reset($this->_data);
reset($this->_updated);
$this->_valid = (count($this->_updated) > 0);
return current($this->_updated);
}