public function NamingStrategyInterface::hydrate in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-hydrator/src/NamingStrategy/NamingStrategyInterface.php \Zend\Hydrator\NamingStrategy\NamingStrategyInterface::hydrate()
Converts the given name so that it can be extracted by the hydrator.
Parameters
string $name The original name:
object $object (optional) The original object for context.:
Return value
mixed The hydrated name
5 methods override NamingStrategyInterface::hydrate()
- ArrayMapNamingStrategy::hydrate in vendor/
zendframework/ zend-hydrator/ src/ NamingStrategy/ ArrayMapNamingStrategy.php - Converts the given name so that it can be extracted by the hydrator.
- CompositeNamingStrategy::hydrate in vendor/
zendframework/ zend-hydrator/ src/ NamingStrategy/ CompositeNamingStrategy.php - Converts the given name so that it can be extracted by the hydrator.
- IdentityNamingStrategy::hydrate in vendor/
zendframework/ zend-hydrator/ src/ NamingStrategy/ IdentityNamingStrategy.php - Converts the given name so that it can be extracted by the hydrator.
- MapNamingStrategy::hydrate in vendor/
zendframework/ zend-hydrator/ src/ NamingStrategy/ MapNamingStrategy.php - Converts the given name so that it can be extracted by the hydrator.
- UnderscoreNamingStrategy::hydrate in vendor/
zendframework/ zend-hydrator/ src/ NamingStrategy/ UnderscoreNamingStrategy.php - Remove underscores and capitalize letters
File
- vendor/
zendframework/ zend-hydrator/ src/ NamingStrategy/ NamingStrategyInterface.php, line 24
Class
- NamingStrategyInterface
- Allow property extraction / hydration for hydrator
Namespace
Zend\Hydrator\NamingStrategyCode
public function hydrate($name);