Interface StrategyInterface

Summary

Fully Qualified Name: Zend\Hydrator\Strategy\StrategyInterface

Description

Methods

Name Description Defined By
extract() Converts the given value so that it can be extracted by the hydrator. StrategyInterface
hydrate() Converts the given value so that it can be hydrated by the hydrator. StrategyInterface

Method Details

extract()

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

Parameter Name Type Description
$value mixed The
$object object (optional)

Returns: mixed Returns the value that should be extracted.

hydrate()

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

Parameter Name Type Description
$value mixed The
$data array (optional)

Returns: mixed Returns the value that should be hydrated.

Top