public function ClassMethods::setNamingStrategy in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-hydrator/src/ClassMethods.php \Zend\Hydrator\ClassMethods::setNamingStrategy()
Adds the given naming strategy
Parameters
NamingStrategy\NamingStrategyInterface $strategy The naming to register.:
Return value
self
Overrides AbstractHydrator::setNamingStrategy
1 call to ClassMethods::setNamingStrategy()
- ClassMethods::setUnderscoreSeparatedKeys in vendor/
zendframework/ zend-hydrator/ src/ ClassMethods.php
File
- vendor/
zendframework/ zend-hydrator/ src/ ClassMethods.php, line 244
Class
Namespace
Zend\HydratorCode
public function setNamingStrategy(NamingStrategy\NamingStrategyInterface $strategy) {
$this
->resetCaches();
return parent::setNamingStrategy($strategy);
}