eZ\Publish\Core\FieldType\Keyword\Type::fromHash PHP Method

fromHash() public method

Converts an $hash to the Value defined by the field type.
public fromHash ( mixed $hash ) : Value
$hash mixed
return Value $value
    public function fromHash($hash)
    {
        return new Value($hash);
    }