TextValues
Read onlyYes
FinalYes
Methods
- __construct() : mixed
- bindable() : array<int, mixed>
- The values a database driver binds for a column: markup (xml, xml_element, html, html_element) as the text its physicals render, every other type as its logical values - the driver's types convert those themselves.
- dateTimes() : array<int, string|null>
- floats() : array<int, string|null>
- keepsPhysical() : bool
- of() : array<int, mixed>
- texts() : array<int, string|null>
- uuids() : array<int, string|null>
Methods
__construct()
public
__construct([string $dateTimeFormat = DateTimeInterface::ATOM ][, string $dateFormat = 'Y-m-d' ]) : mixed
Parameters
- $dateTimeFormat : string = DateTimeInterface::ATOM
- $dateFormat : string = 'Y-m-d'
bindable()
The values a database driver binds for a column: markup (xml, xml_element, html, html_element) as the text its physicals render, every other type as its logical values - the driver's types convert those themselves.
public
bindable(Type<string|int, mixed> $type, Column $column) : array<int, mixed>
Parameters
- $type : Type<string|int, mixed>
- $column : Column
Return values
array<int, mixed>dateTimes()
public
dateTimes(DateTimeType|DateType $type, array<int, int|null> $physicals, string $format) : array<int, string|null>
Parameters
- $type : DateTimeType|DateType
- $physicals : array<int, int|null>
- $format : string
Return values
array<int, string|null>floats()
public
floats(array<int, float|null> $physicals) : array<int, string|null>
Parameters
- $physicals : array<int, float|null>
Return values
array<int, string|null>keepsPhysical()
public
keepsPhysical(Type<string|int, mixed> $type) : bool
Parameters
- $type : Type<string|int, mixed>
Return values
boolof()
public
of(Type<string|int, mixed> $type, array<int, mixed> $physicals) : array<int, mixed>
Parameters
- $type : Type<string|int, mixed>
- $physicals : array<int, mixed>
Return values
array<int, mixed>texts()
public
texts(Type<string|int, mixed> $type, array<int, mixed> $physicals) : array<int, string|null>
Parameters
- $type : Type<string|int, mixed>
- $physicals : array<int, mixed>
Return values
array<int, string|null>uuids()
public
uuids(array<int, string|null> $physicals) : array<int, string|null>
Parameters
- $physicals : array<int, string|null>
-
16 raw bytes each