Interface NamingStrategyInterface

Summary

Fully Qualified Name: Zend\Hydrator\NamingStrategy\NamingStrategyInterface

Description

Allow property extraction / hydration for hydrator

Methods

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

Method Details

extract()

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

Parameter Name Type Description
$name string The
$data array (optional)

Returns: mixed The extracted name

hydrate()

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

Parameter Name Type Description
$name string The
$object object (optional)

Returns: mixed The hydrated name

Top