Flow PHP

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()

commit()

public commit(string $run, int $tasks) : FileCommit|null
Parameters
$run : string
$tasks : int
Return values
FileCommit|null

describe()

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|null

destination()

public destination() : Path
Return values
Path

fromDescription()

public static fromDescription(array<string|int, mixed> $data, Rebuild $rebuild) : static
Parameters
$data : array<string|int, mixed>
$rebuild : Rebuild
Return values
static

inTask()

public inTask(Part $task) : static
Parameters
$task : Part
Return values
static

load()

public load(Rows $rows, Backend $backend) : void
Parameters
$rows : Rows
$backend : Backend

partitionBy()

public partitionBy(Partitioning $partitioning) : static
Parameters
$partitioning : Partitioning
Return values
static

partitioning()

public partitioning() : Partitioning
Return values
Partitioning

saveMode()

public saveMode(SaveMode $mode) : static
Parameters
$mode : SaveMode
Return values
static

withDateFormat()

public withDateFormat(string $format) : self
Parameters
$format : string
Return values
self

withDateTimeFormat()

public withDateTimeFormat(string $format) : self
Parameters
$format : string
Return values
self

withHeader()

public withHeader([bool $withHeader = true ]) : self
Parameters
$withHeader : bool = true
Return values
self

withHeaderStyle()

public withHeaderStyle(Style $style) : self
Parameters
$style : Style
Return values
self

withSheetName()

public withSheetName(string|null $sheetName) : self
Parameters
$sheetName : string|null
Return values
self

withSheetNameFromColumn()

public withSheetNameFromColumn(string $columnName) : self
Parameters
$columnName : string
Return values
self

withTimeFormat()

public withTimeFormat(string $format) : self
Parameters
$format : string
Return values
self

withWriterOptions()

public withWriterOptions(Options|Options $options) : self
Parameters
$options : Options|Options
Return values
self
On this page

Search results