public function UnderscoreNamingStrategy::extract in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-hydrator/src/NamingStrategy/UnderscoreNamingStrategy.php \Zend\Hydrator\NamingStrategy\UnderscoreNamingStrategy::extract()
Remove capitalized letters and prepend underscores.
Parameters
string $name:
Return value
string
Overrides NamingStrategyInterface::extract
File
- vendor/
zendframework/ zend-hydrator/ src/ NamingStrategy/ UnderscoreNamingStrategy.php, line 43
Class
Namespace
Zend\Hydrator\NamingStrategyCode
public function extract($name) {
return $this
->getCamelCaseToUnderscoreFilter()
->filter($name);
}