lithium\util\Collection::next()

public method

Moves forward to the next item.

Returns

mixed

The next item or false, in case there's no next item or the collection is empty.

Source

	public function next() {
		$value = next($this->_data);
		return key($this->_data) !== null ? $value : false;
	}