Interface StrategyInterface

Summary

Fully Qualified Name: Laminas\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 null|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 null|array (optional)

Returns: mixed Returns the value that should be hydrated.

Top