public function getNext()
	{
		if (! $this->valid()) {
			throw new \OutOfBoundsException('End of iterator reached.');
		}

		$value = $this->get($this->key());

		$this->next();

		return $value;
	}
public function getNext()
	{
		if (! $this->valid()) {
			throw new \OutOfBoundsException('End of iterator reached.');
		}

		$value = $this->get($this->key());

		$this->next();

		return $value;
	}
public function getNext ( ) { if ( ! $ this -> valid ( ) ) { throw new \ OutOfBoundsException ( 'End of iterator reached.' ) ; } $ value = $ this -> get ( $ this -> key ( ) ) ; $ this -> next ( ) ; return $ value ; }
Loads next value in scalar value input and advances the iterator pointer.
@return mixed
@throws \OutOfBoundsException
Loads next value in scalar value input and advances the iterator pointer .