public function __construct(ProductVariantResolverInterface $variantResolver) { $this->variantResolver = $variantResolver; }