Flow PHP

XlsxSheetRows

Read onlyYes
FinalYes

Own XML walk replaces OpenSpout's RowIterator (reflection callback + libxml toggling per node).

Tags
import-type

SheetCellValue from SheetCells

Methods

__construct()  : mixed
values()  : Generator<int, array<int, SheetCellValue>>
Each non-empty row's cell values by column index, as OpenSpout's RowIterator yields them with the default options Flow opens every workbook with: a row is padded to its spans, else to the sheet's dimension, and a sheet that declares no dimension gets the gaps below its cell count filled. Keyed by the row's 1-based number.

Methods

__construct()

public __construct(Sheet $sheet) : mixed
Parameters
$sheet : Sheet

values()

Each non-empty row's cell values by column index, as OpenSpout's RowIterator yields them with the default options Flow opens every workbook with: a row is padded to its spans, else to the sheet's dimension, and a sheet that declares no dimension gets the gaps below its cell count filled. Keyed by the row's 1-based number.

public values() : Generator<int, array<int, SheetCellValue>>
Return values
Generator<int, array<int, SheetCellValue>>
On this page

Search results