ExcelLoader implements Closure, Discardable, FileLoader, Loader
FinalYes
Interfaces
- Closure
- Discardable
- FileLoader
- Loader
Methods
- __construct() : mixed
- closure() : void
- commit() : FileCommit|null
- describe() : Description|null
- A cell styler, a header style and writer options are OpenSpout or user objects that do not describe: a loader holding one cannot be shipped to a worker.
- destination() : Path
- discard() : void
- fromDescription() : static
- inTask() : static
- load() : void
- partitionBy() : static
- partitioning() : Partitioning
- saveMode() : static
- withCellStyler() : self
- withDateFormat() : self
- withDateTimeFormat() : self
- withHeader() : self
- withHeaderStyle() : self
- withSheetName() : self
- withSheetNameFromColumn() : self
- withTimeFormat() : self
- withWriter() : self
- withWriterOptions() : self
Methods
__construct()
public
__construct(Path $path[, Filesystem $filesystem = new NativeLocalFilesystem() ]) : mixed
Parameters
- $path : Path
- $filesystem : Filesystem = new NativeLocalFilesystem()
closure()
public
closure() : void
commit()
public
commit(string $run, int $tasks) : FileCommit|null
Parameters
- $run : string
- $tasks : int
Return values
FileCommit|nulldescribe()
A cell styler, a header style and writer options are OpenSpout or user objects that do not describe: a loader holding one cannot be shipped to a worker.
public
describe() : Description|null
Return values
Description|nulldestination()
public
destination() : Path
Return values
Pathdiscard()
public
discard() : void
fromDescription()
public
static fromDescription(array<string|int, mixed> $data, Rebuild $rebuild) : static
Parameters
- $data : array<string|int, mixed>
- $rebuild : Rebuild
Return values
staticinTask()
public
inTask(Part $task) : static
Parameters
- $task : Part
Return values
staticload()
public
load(Rows $rows, Backend $backend) : void
Parameters
- $rows : Rows
- $backend : Backend
partitionBy()
public
partitionBy(Partitioning $partitioning) : static
Parameters
- $partitioning : Partitioning
Return values
staticpartitioning()
public
partitioning() : Partitioning
Return values
PartitioningsaveMode()
public
saveMode(SaveMode $mode) : static
Parameters
- $mode : SaveMode
Return values
staticwithCellStyler()
public
withCellStyler(CellStyler $styler) : self
Parameters
- $styler : CellStyler
Return values
selfwithDateFormat()
public
withDateFormat(string $format) : self
Parameters
- $format : string
Return values
selfwithDateTimeFormat()
public
withDateTimeFormat(string $format) : self
Parameters
- $format : string
Return values
selfwithHeader()
public
withHeader([bool $withHeader = true ]) : self
Parameters
- $withHeader : bool = true
Return values
selfwithHeaderStyle()
public
withHeaderStyle(Style $style) : self
Parameters
- $style : Style
Return values
selfwithSheetName()
public
withSheetName(string|null $sheetName) : self
Parameters
- $sheetName : string|null
Return values
selfwithSheetNameFromColumn()
public
withSheetNameFromColumn(string $columnName) : self
Parameters
- $columnName : string
Return values
selfwithTimeFormat()
public
withTimeFormat(string $format) : self
Parameters
- $format : string
Return values
selfwithWriter()
public
withWriter(ExcelWriter $writer) : self
Parameters
- $writer : ExcelWriter
Return values
selfwithWriterOptions()
public
withWriterOptions(Options|Options $options) : self
Parameters
- $options : Options|Options