You are here

public function NamingStrategyInterface::extract in Zircon Profile 8

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

Converts the given name so that it can be hydrated by the hydrator.

Parameters

string $name The original name:

array $data (optional) The original data for context.:

Return value

mixed The extracted name

5 methods override NamingStrategyInterface::extract()
ArrayMapNamingStrategy::extract in vendor/zendframework/zend-hydrator/src/NamingStrategy/ArrayMapNamingStrategy.php
Converts the given name so that it can be hydrated by the hydrator.
CompositeNamingStrategy::extract in vendor/zendframework/zend-hydrator/src/NamingStrategy/CompositeNamingStrategy.php
Converts the given name so that it can be hydrated by the hydrator.
IdentityNamingStrategy::extract in vendor/zendframework/zend-hydrator/src/NamingStrategy/IdentityNamingStrategy.php
Converts the given name so that it can be hydrated by the hydrator.
MapNamingStrategy::extract in vendor/zendframework/zend-hydrator/src/NamingStrategy/MapNamingStrategy.php
Converts the given name so that it can be hydrated by the hydrator.
UnderscoreNamingStrategy::extract in vendor/zendframework/zend-hydrator/src/NamingStrategy/UnderscoreNamingStrategy.php
Remove capitalized letters and prepend underscores.

File

vendor/zendframework/zend-hydrator/src/NamingStrategy/NamingStrategyInterface.php, line 33

Class

NamingStrategyInterface
Allow property extraction / hydration for hydrator

Namespace

Zend\Hydrator\NamingStrategy

Code

public function extract($name);