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
boolacceptsAll()
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
boolacceptsElements()
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
boolbuilder()
public
builder(Type<string|int, mixed> $type) : PhpColumnBuilder
Parameters
- $type : Type<string|int, mixed>
Tags
Return values
PhpColumnBuilderdefinition()
public
definition(Definition<string|int, mixed> $definition) : Physical
Parameters
- $definition : Definition<string|int, mixed>
Tags
Return values
Physicalelements()
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
Layoutphysical()
public
physical(Type<string|int, mixed> $type) : Physical
Parameters
- $type : Type<string|int, mixed>
Tags
Return values
Physicalsupports()
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
boolsupportsChild()
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
boolsupportsElements()
public
supportsElements(StructureType<string|int, array<string|int, mixed>> $type) : bool
Parameters
- $type : StructureType<string|int, array<string|int, mixed>>