DataConverter
in package
FinalYes
PHP data <==> DataSource data converter
Tags
Table of Contents
Properties
- $dataCaster : DataCaster
- The data caster.
- $extractor : Closure|string|null
- Extract method name or closure to extract data from an object.
- $helper : object|null
- Helper object.
- $reconstructor : Closure|string|null
- Static reconstruct method name or closure to reconstruct an object.
- $types : array<string, string>
- Type definitions.
Properties
$dataCaster read-only
The data caster.
private
DataCaster
$dataCaster
$extractor read-only
Extract method name or closure to extract data from an object.
private
Closure|string|null
$extractor
= null
Used by extract().
Tags
$helper read-only
Helper object.
private
object|null
$helper
= null
$reconstructor read-only
Static reconstruct method name or closure to reconstruct an object.
private
Closure|string|null
$reconstructor
= 'reconstruct'
Used by reconstruct().
Tags
$types read-only
Type definitions.
private
array<string, string>
$types
[column => type]