LoaderInterface
in
This is a LoaderInterface, all loader classes must implmenting this interface
Tags
Table of Contents
- canLoadByLength() : bool
- can load by length
- canLoadByRows() : bool
- can load by rows
- getData() : array<string|int, array<string|int, mixed>>
- get data
- load() : Result
- output current data and generate destination automatically, must set fileManager before using this method
- output() : Result
- output current data into specific destination
- push() : void
- push
Methods
canLoadByLength()
can load by length
public
canLoadByLength(int $length) : bool
Parameters
- $length : int
-
bytes
Return values
bool —canLoadByRows()
can load by rows
public
canLoadByRows(int $rows) : bool
Parameters
- $rows : int
Return values
bool —getData()
get data
public
getData() : array<string|int, array<string|int, mixed>>
Return values
array<string|int, array<string|int, mixed>> —load()
output current data and generate destination automatically, must set fileManager before using this method
public
load() : Result
Return values
Result —output()
output current data into specific destination
public
output(string $dest) : Result
Parameters
- $dest : string
Return values
Result —push()
push
public
push(array<string|int, mixed> $values[, bool $isAssoc = true ]) : void
Parameters
- $values : array<string|int, mixed>
- $isAssoc : bool = true
-
default: true