public function StrategyInterface::extract in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-hydrator/src/Strategy/StrategyInterface.php \Zend\Hydrator\Strategy\StrategyInterface::extract()
Converts the given value so that it can be extracted by the hydrator.
Parameters
mixed $value The original value.:
object $object (optional) The original object for context.:
Return value
mixed Returns the value that should be extracted.
7 methods override StrategyInterface::extract()
- BooleanStrategy::extract in vendor/
zendframework/ zend-hydrator/ src/ Strategy/ BooleanStrategy.php - Converts the given value so that it can be extracted by the hydrator.
- ClosureStrategy::extract in vendor/
zendframework/ zend-hydrator/ src/ Strategy/ ClosureStrategy.php - Converts the given value so that it can be extracted by the hydrator.
- DateTimeFormatterStrategy::extract in vendor/
zendframework/ zend-hydrator/ src/ Strategy/ DateTimeFormatterStrategy.php - Converts to date time string
- DefaultStrategy::extract in vendor/
zendframework/ zend-hydrator/ src/ Strategy/ DefaultStrategy.php - Converts the given value so that it can be extracted by the hydrator.
- ExplodeStrategy::extract in vendor/
zendframework/ zend-hydrator/ src/ Strategy/ ExplodeStrategy.php - Join array elements with delimiter
File
- vendor/
zendframework/ zend-hydrator/ src/ Strategy/ StrategyInterface.php, line 24
Class
- StrategyInterface
- @todo v3.0, add optional object/data to extract/hydrate.
Namespace
Zend\Hydrator\StrategyCode
public function extract($value);