Adapter/ShopwareAdapter/DataPersister/Attribute/AttributeDataPersister.php
private function getAttributesAsArray(array $attributes = [])
    {
        $result = [];

        foreach ($attributes as $attribute) {
            $key = $this->getAttributeKey($attribute);

            $result[$key] = $attribute->getValue();
        }

        return $result;
    }
private function getAttributesAsArray(array $attributes = [])
    {
        $result = [];

        foreach ($attributes as $attribute) {
            $key = $this->getAttributeKey($attribute);

            $result[$key] = $attribute->getValue();
        }

        return $result;
    }
@param Attribute[] $attributes

@return array