Flow PHP

ExcelLoader implements Closure, FileLoader, Loader

FinalYes

Interfaces

Closure
FileLoader
Loader

Methods

__construct()  : mixed
closure()  : void
destination()  : Path
load()  : void
withCellStyler()  : self
withDateFormat()  : self
withDateTimeFormat()  : self
withHeader()  : self
withHeaderStyle()  : self
withSheetName()  : self
withSheetNameFromEntry()  : self
withTimeFormat()  : self
withWriter()  : self
withWriterOptions()  : self

Methods

__construct()

public __construct(Path $path) : mixed
Parameters
$path : Path

closure()

public closure(FlowContext $context) : void
Parameters
$context : FlowContext

destination()

public destination() : Path
Return values
Path

load()

public load(Rows $rows, FlowContext $context) : void
Parameters
$rows : Rows
$context : FlowContext

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

withSheetNameFromEntry()

public withSheetNameFromEntry(string $entryName) : self
Parameters
$entryName : 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