Box\Spout\Reader\CSV\RowIterator::next PHP Method

next() public method

Move forward to next element. Reads data for the next unprocessed row.
public next ( ) : void
return void
    public function next()
    {
        $this->hasReachedEndOfFile = $this->globalFunctionsHelper->feof($this->filePointer);
        if (!$this->hasReachedEndOfFile) {
            $this->readDataForNextRow();
        }
    }