Flow PHP

TextFileBatches implements FileBatches

Read onlyYes
FinalYes

Interfaces

FileBatches

Methods

batch()  : Rows
batches()  : Generator<mixed, void>
The lines into the "text" column; any other column $body declares is padded as matchTo() pads it.
close()  : void
describe()  : Description|null
fromDescription()  : static

Methods

batch()

public batch(Schema $text, array<int, string> $lines, Schema $body, Backend $backend) : Rows
Parameters
$text : Schema
$lines : array<int, string>
$body : Schema
$backend : Backend
Return values
Rows

batches()

The lines into the "text" column; any other column $body declares is padded as matchTo() pads it.

public batches(FileRead $read, Criteria $criteria, SourceFile $source, Schema $body, Backend $backend, ReadWindow $window) : Generator<mixed, void>
Parameters
$read : FileRead
$criteria : Criteria
$source : SourceFile
$body : Schema
$backend : Backend
$window : ReadWindow
Return values
Generator<mixed, void>

describe()

public describe() : Description|null
Return values
Description|null

fromDescription()

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

Search results