Flow PHP

ColumnTypes

FinalYes

Methods

__construct()  : mixed
merge()  : self
Merge left-to-right in listing order: name order follows first-seen, so a different bracketing of the name sequence changes the definition order (never the types).
observe()  : void
RawRowValues::$metadata is not read: the fold types columns, metadata is folded by the hydrator per batch.
rows()  : int
schema()  : Schema

Methods

__construct()

public __construct(array<int, string> $names, TypeNarrower $typer[, TypeWidener $widener = new TypeWidener() ]) : mixed
Parameters
$names : array<int, string>
  • columns known before any row - a header; [] for a headerless source
$typer : TypeNarrower
$widener : TypeWidener = new TypeWidener()

merge()

Merge left-to-right in listing order: name order follows first-seen, so a different bracketing of the name sequence changes the definition order (never the types).

public merge(self $other, bool $unionByName) : self
Parameters
$other : self
$unionByName : bool
Return values
self

observe()

RawRowValues::$metadata is not read: the fold types columns, metadata is folded by the hydrator per batch.

public observe(RawRowValues $row) : void
Parameters
$row : RawRowValues
On this page

Search results