You are here

public function AbstractHydrator::hasNamingStrategy in Zircon Profile 8

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

Checks if a naming strategy exists.

Return value

bool

Overrides NamingStrategyEnabledInterface::hasNamingStrategy

2 calls to AbstractHydrator::hasNamingStrategy()
AbstractHydrator::extractName in vendor/zendframework/zend-hydrator/src/AbstractHydrator.php
Convert a name for extraction. If no naming strategy exists, the plain value is returned.
AbstractHydrator::hydrateName in vendor/zendframework/zend-hydrator/src/AbstractHydrator.php
Converts a value for hydration. If no naming strategy exists, the plain value is returned.

File

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

Class

AbstractHydrator

Namespace

Zend\Hydrator

Code

public function hasNamingStrategy() {
  return isset($this->namingStrategy);
}