Methods

Constructor

__construct(array | \Traversable $extractionStrategies) 

Parameters

$extractionStrategies

array\Traversable

Converts the given value so that it can be extracted by the hydrator.

extract(mixed $value) : mixed

Parameters

$value

mixed

The original value.

Returns

mixedReturns the value that should be extracted.

Converts the given value so that it can be hydrated by the hydrator.

hydrate(mixed $value) : mixed

Parameters

$value

mixed

The original value.

Returns

mixedReturns the value that should be hydrated.

 Properties

 

Strategy chain for extraction

$extractionStrategies : \Zend\Stdlib\Hydrator\Strategy\StrategyInterface[]

 

Strategy chain for hydration

$hydrationStrategies : \Zend\Stdlib\Hydrator\Strategy\StrategyInterface[]