Flow PHP

PhysicalFor

Read onlyYes
FinalYes

Methods

accepts()  : bool
The PHP kind a physical value of $type has: the kinds flow_php's builders store, so both backends refuse the same physicals.
acceptsAll()  : bool
acceptsElements()  : bool
builder()  : PhpColumnBuilder
definition()  : Physical
elements()  : array<string|int, Physical>
layout()  : Layout
physical()  : Physical
supports()  : bool
A column of $type exists: definition_from_type() accepts it and definition() gives it a Physical.
supportsChild()  : bool
A child (list element, map value, structure element) of $type exists once TypeProjection stored it as json (an array) or as optional (a nullable union): physical() gives it a Physical.
supportsElements()  : bool

Methods

accepts()

The PHP kind a physical value of $type has: the kinds flow_php's builders store, so both backends refuse the same physicals.

public accepts(Type<string|int, mixed> $type, mixed $physical) : bool
Parameters
$type : Type<string|int, mixed>
$physical : mixed
Return values
bool

acceptsAll()

public acceptsAll(Type<string|int, mixed> $type, array<string|int, mixed> $physicals) : bool
Parameters
$type : Type<string|int, mixed>
$physicals : array<string|int, mixed>
Return values
bool

acceptsElements()

public acceptsElements(StructureType<string|int, array<string|int, mixed>> $type, array<string|int, mixed> $physical) : bool
Parameters
$type : StructureType<string|int, array<string|int, mixed>>
$physical : array<string|int, mixed>
Return values
bool

elements()

public elements(StructureType<string|int, array<string|int, mixed>> $type) : array<string|int, Physical>
Parameters
$type : StructureType<string|int, array<string|int, mixed>>
Return values
array<string|int, Physical>

layout()

public layout(Type<string|int, mixed> $type) : Layout
Parameters
$type : Type<string|int, mixed>
Return values
Layout

supports()

A column of $type exists: definition_from_type() accepts it and definition() gives it a Physical.

public supports(Type<string|int, mixed> $type) : bool
Parameters
$type : Type<string|int, mixed>
Return values
bool

supportsChild()

A child (list element, map value, structure element) of $type exists once TypeProjection stored it as json (an array) or as optional (a nullable union): physical() gives it a Physical.

public supportsChild(Type<string|int, mixed> $type) : bool
Parameters
$type : Type<string|int, mixed>
Return values
bool

supportsElements()

public supportsElements(StructureType<string|int, array<string|int, mixed>> $type) : bool
Parameters
$type : StructureType<string|int, array<string|int, mixed>>
Return values
bool
On this page

Search results