$worksheet
$worksheet : \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet
Worksheet to iterate.
__construct(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $subject = null, string $columnIndex = 'A', integer $startRow = 1, integer $endRow = null)
Create a new row iterator.
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet | $subject | The worksheet to iterate over |
string | $columnIndex | The column that we want to iterate |
integer | $startRow | The row number at which to start iterating |
integer | $endRow | Optionally, the row number at which to stop iterating |