ExcelReadOptions
Read onlyYes
FinalYes
Properties
- $convertEmptyToNull : bool
- $format : ExcelReader|null
- $offset : int
- $sheetName : string|null
- $withHeader : bool
Methods
- __construct() : mixed
- withConvertEmptyToNull() : self
- withFormat() : self
- withHeader() : self
- withOffset() : self
- withSheetName() : self
Properties
$convertEmptyToNull
public
bool
$convertEmptyToNull
= true
$format
public
ExcelReader|null
$format
= null
$offset
public
int
$offset
= 1
$sheetName
public
string|null
$sheetName
= null
$withHeader
public
bool
$withHeader
= true
Methods
__construct()
public
__construct([bool $withHeader = true ][, bool $convertEmptyToNull = true ][, int $offset = 1 ][, string|null $sheetName = null ][, ExcelReader|null $format = null ]) : mixed
Parameters
- $withHeader : bool = true
- $convertEmptyToNull : bool = true
- $offset : int = 1
- $sheetName : string|null = null
- $format : ExcelReader|null = null
withConvertEmptyToNull()
public
withConvertEmptyToNull(bool $convertEmptyToNull) : self
Parameters
- $convertEmptyToNull : bool
Return values
selfwithFormat()
public
withFormat(ExcelReader $format) : self
Parameters
- $format : ExcelReader
Return values
selfwithHeader()
public
withHeader(bool $withHeader) : self
Parameters
- $withHeader : bool
Return values
selfwithOffset()
public
withOffset(int $offset) : self
Parameters
- $offset : int
Return values
selfwithSheetName()
public
withSheetName(string $sheetName) : self
Parameters
- $sheetName : string