You are here

public function AbstractHydrator::setNamingStrategy in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-hydrator/src/AbstractHydrator.php \Zend\Hydrator\AbstractHydrator::setNamingStrategy()

Adds the given naming strategy

Parameters

NamingStrategy\NamingStrategyInterface $strategy The naming to register.:

Return value

self

Overrides NamingStrategyEnabledInterface::setNamingStrategy

1 call to AbstractHydrator::setNamingStrategy()
ClassMethods::setNamingStrategy in vendor/zendframework/zend-hydrator/src/ClassMethods.php
Adds the given naming strategy
1 method overrides AbstractHydrator::setNamingStrategy()
ClassMethods::setNamingStrategy in vendor/zendframework/zend-hydrator/src/ClassMethods.php
Adds the given naming strategy

File

vendor/zendframework/zend-hydrator/src/AbstractHydrator.php, line 245

Class

AbstractHydrator

Namespace

Zend\Hydrator

Code

public function setNamingStrategy(NamingStrategy\NamingStrategyInterface $strategy) {
  $this->namingStrategy = $strategy;
  return $this;
}