interface NamingStrategyInterface in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-hydrator/src/NamingStrategy/NamingStrategyInterface.php \Zend\Hydrator\NamingStrategy\NamingStrategyInterface
- 8 vendor/zendframework/zend-stdlib/src/Hydrator/NamingStrategy/NamingStrategyInterface.php \Zend\Stdlib\Hydrator\NamingStrategy\NamingStrategyInterface
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-hydrator/src/NamingStrategy/NamingStrategyInterface.php \Zend\Hydrator\NamingStrategy\NamingStrategyInterface
Allow property extraction / hydration for hydrator
Hierarchy
- interface \Zend\Hydrator\NamingStrategy\NamingStrategyInterface
Expanded class hierarchy of NamingStrategyInterface
All classes that implement NamingStrategyInterface
1 file declares its use of NamingStrategyInterface
- NamingStrategyInterface.php in vendor/
zendframework/ zend-stdlib/ src/ Hydrator/ NamingStrategy/ NamingStrategyInterface.php
File
- vendor/
zendframework/ zend-hydrator/ src/ NamingStrategy/ NamingStrategyInterface.php, line 15
Namespace
Zend\Hydrator\NamingStrategyView source
interface NamingStrategyInterface {
/**
* Converts the given name so that it can be extracted by the hydrator.
*
* @param string $name The original name
* @param object $object (optional) The original object for context.
* @return mixed The hydrated name
*/
public function hydrate($name);
/**
* Converts the given name so that it can be hydrated by the hydrator.
*
* @param string $name The original name
* @param array $data (optional) The original data for context.
* @return mixed The extracted name
*/
public function extract($name);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NamingStrategyInterface:: |
public | function | Converts the given name so that it can be hydrated by the hydrator. | 5 |
NamingStrategyInterface:: |
public | function | Converts the given name so that it can be extracted by the hydrator. | 5 |