code: public function next()
      {
          do {
              ++$this->currentRow;
          } while (($this->onlyExistingCells) &&
              (!$this->worksheet->cellExistsByColumnAndRow($this->columnIndex, $this->currentRow)) &&
              ($this->currentRow <= $this->endRow));
      }
docs: Set the iterator to its next value.