$worksheet
$worksheet : \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
Worksheet to iterate.
$worksheet : \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
Worksheet to iterate.
$onlyExistingCells : bool
Iterate only existing cells.
$currentColumnIndex : int
Current iterator position.
$rowIndex : int
Row index.
$startColumnIndex : int
Start position.
$endColumnIndex : int
End position.
__construct(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $worksheet = null, int $rowIndex = 1, string $startColumn = 'A', string $endColumn = null) : mixed
Create a new column iterator.
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet | $worksheet | The worksheet to iterate over |
int | $rowIndex | The row that we want to iterate |
string | $startColumn | The column address at which to start iterating |
string | $endColumn | Optionally, the column address at which to stop iterating |