Class DefaultStrategy

Summary

Fully Qualified Name: Zend\Hydrator\Strategy\DefaultStrategy
Implements: StrategyInterface

Description

Methods

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

Method Details

extract()

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

Parameter Name Type Description
$value mixed The

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

Returns: mixed Returns the value that should be hydrated.

Top