public function hydrateValue($name, $value, $data = null)
    {
        if ($this->hasStrategy($name)) {
            $strategy = $this->getStrategy($name);
            $value = $strategy->hydrate($value, $this->data, $this->object);
        }
        return $value;
    }
public function hydrateValue($name, $value, $data = null)
    {
        if ($this->hasStrategy($name)) {
            $strategy = $this->getStrategy($name);
            $value = $strategy->hydrate($value, $this->data, $this->object);
        }
        return $value;
    }
public function hydrateValue ( $ name , $ value , $ data = null ) { if ( $ this -> hasStrategy ( $ name ) ) { $ strategy = $ this -> getStrategy ( $ name ) ; $ value = $ strategy -> hydrate ( $ value , $ this -> data , $ this -> object ) ; } return $ value ; }
Converts a value for hydration. If no strategy exists the plain value is returned.

@param string $name The name of the strategy to use.
@param mixed $value The value that should be converted.
@param array $data The whole data is optionally provided as context.
@return mixed
Converts a value for hydration . If no strategy exists the plain value is returned .