public function SerializableStrategy::hydrate in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-hydrator/src/Strategy/SerializableStrategy.php \Zend\Hydrator\Strategy\SerializableStrategy::hydrate()
Unserialize the given value so that it can be hydrated by the hydrator.
Parameters
mixed $value The original value.:
Return value
mixed Returns the value that should be hydrated.
Overrides StrategyInterface::hydrate
File
- vendor/
zendframework/ zend-hydrator/ src/ Strategy/ SerializableStrategy.php, line 59
Class
Namespace
Zend\Hydrator\StrategyCode
public function hydrate($value) {
$serializer = $this
->getSerializer();
return $serializer
->unserialize($value);
}