$worksheet
$worksheet : \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
Worksheet to iterate.
$worksheet : \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
Worksheet to iterate.
$onlyExistingCells : bool
Iterate only existing cells.
$currentRow : int
Current iterator position.
$columnIndex : string
Column index.
$startRow : int
Start position.
$endRow : int
End position.
__construct(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $subject = null, string $columnIndex = 'A', int $startRow = 1, int $endRow = null) : mixed
Create a new row iterator.
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet | $subject | The worksheet to iterate over |
string | $columnIndex | The column that we want to iterate |
int | $startRow | The row number at which to start iterating |
int | $endRow | Optionally, the row number at which to stop iterating |