WorkbookReader implements Describable
Read onlyYes
FinalYes
Interfaces
- Describable
Constants
- EXTENSIONS : array<string|int, mixed> = ['dom', 'filter', 'xmlreader', 'zip']
- The extensions a workbook is read with: this package's composer.json and openspout's.
Methods
- __construct() : mixed
- describe() : Description|null
- fromDescription() : static
- open() : OpenSheet
- sheet() : WorkbookSheet
Constants
EXTENSIONS
The extensions a workbook is read with: this package's composer.json and openspout's.
public
array<string|int, mixed>
EXTENSIONS
= ['dom', 'filter', 'xmlreader', 'zip']
Methods
__construct()
public
__construct(ExcelReadOptions $options, ExcelFormatDetector $detector) : mixed
Parameters
- $options : ExcelReadOptions
- $detector : ExcelFormatDetector
describe()
public
describe() : Description|null
Return values
Description|nullfromDescription()
public
static fromDescription(array<string|int, mixed> $data, Rebuild $rebuild) : static
Parameters
- $data : array<string|int, mixed>
- $rebuild : Rebuild
Return values
staticopen()
public
open(Path $path) : OpenSheet
Parameters
- $path : Path
Return values
OpenSheetsheet()
public
sheet(SourceFile $source) : WorkbookSheet
Parameters
- $source : SourceFile