public function MapNamingStrategy::extract in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-hydrator/src/NamingStrategy/MapNamingStrategy.php \Zend\Hydrator\NamingStrategy\MapNamingStrategy::extract()
Converts the given name so that it can be hydrated by the hydrator.
Parameters
string $name The original name:
Return value
mixed The extracted name
Overrides NamingStrategyInterface::extract
File
- vendor/
zendframework/ zend-hydrator/ src/ NamingStrategy/ MapNamingStrategy.php, line 81
Class
Namespace
Zend\Hydrator\NamingStrategyCode
public function extract($name) {
if (array_key_exists($name, $this->reverse)) {
return $this->reverse[$name];
}
return $name;
}