code: private function getVariantConfiguration(array $variations = [])
      {
          $properties = [[]];
  
          foreach ($variations as $variation) {
              $properties[] = $variation->getProperties();
          }
  
          return array_merge(...$properties);
      }
docs: @param Variation[] $variations
  
  @return Property[]