__construct()
extract()
hydrate()
$extractFunc
$hydrateFunc
__construct(\Zend\Stdlib\Hydrator\Strategy\callable $extractFunc, \Zend\Stdlib\Hydrator\Strategy\callable $hydrateFunc)
\Zend\Stdlib\Hydrator\Strategy\callable
\Zend\Stdlib\Hydrator\Strategy\callable
extract(mixed $value, array $object) : mixed
mixed
The original value.
array
The object is optionally provided as context.
mixed
Returns the value that should be extracted.hydrate(mixed $value, array $data) : mixed
mixed
The original value.
array
The whole data is optionally provided as context.
mixed
Returns the value that should be hydrated.$extractFunc : \Zend\Stdlib\Hydrator\Strategy\callable
$hydrateFunc : \Zend\Stdlib\Hydrator\Strategy\callable