Fully Qualified Name: | Zend\Hydrator\NamingStrategy\MapNamingStrategy |
Implements: | NamingStrategyInterface |
Name | Description | Defined By |
---|---|---|
__construct() | Initialize. | MapNamingStrategy |
extract() | Converts the given name so that it can be hydrated by the hydrator. | MapNamingStrategy |
hydrate() | Converts the given name so that it can be extracted by the hydrator. | MapNamingStrategy |
Initialize.
Parameter Name | Type | Description |
---|---|---|
$mapping | array | Map |
$reverse | array | Reverse |
Returns:
Converts the given name so that it can be hydrated by the hydrator.
Parameter Name | Type | Description |
---|---|---|
$name | string | The |
Returns: mixed The extracted name
Converts the given name so that it can be extracted by the hydrator.
Parameter Name | Type | Description |
---|---|---|
$name | string | The |
Returns: mixed The hydrated name