private static function convertMultiValue($value)
    {
        $protoMultiValue = new \Attrpubapi\MultiValue();
        $protoMultiValue->mergeFromString($value);
        $items = [];
        foreach ($protoMultiValue->getValues() as $protoValue) {
            $items[] = self::convertValueBasedOnContentType(
                $protoValue->getData(),
                $protoValue->getContentType()
            );
        }
        return new MultiValue($items);
    }
private static function convertMultiValue($value)
    {
        $protoMultiValue = new \Attrpubapi\MultiValue();
        $protoMultiValue->mergeFromString($value);
        $items = [];
        foreach ($protoMultiValue->getValues() as $protoValue) {
            $items[] = self::convertValueBasedOnContentType(
                $protoValue->getData(),
                $protoValue->getContentType()
            );
        }
        return new MultiValue($items);
    }
private static function convertMultiValue ( $ value ) { $ protoMultiValue = new \ Attrpubapi \ MultiValue ( ) ; $ protoMultiValue -> mergeFromString ( $ value ) ; $ items = [ ] ; foreach ( $ protoMultiValue -> getValues ( ) as $ protoValue ) { $ items [ ] = self :: convertValueBasedOnContentType ( $ protoValue -> getData ( ) , $ protoValue -> getContentType ( ) ) ; } return new MultiValue ( $ items ) ; }
Convert attribute value to MultiValue.

@param string $value
@return MultiValue
Convert attribute value to MultiValue .