/** * @param ProductBuilderInterface $productBuilder * @param AttributeValidatorHelper $attrValidatorHelper * @param CurrencyManager $currencyManager * @param array $supportedTypes */ public function __construct(ProductBuilderInterface $productBuilder, AttributeValidatorHelper $attrValidatorHelper, CurrencyManager $currencyManager, array $supportedTypes) { parent::__construct($productBuilder, $attrValidatorHelper); $this->currencyManager = $currencyManager; $this->supportedTypes = $supportedTypes; }
/** * @param ProductBuilderInterface $productBuilder * @param AttributeValidatorHelper $attrValidatorHelper * @param AttributeOptionRepositoryInterface $attrOptionRepository * @param array $supportedTypes */ public function __construct(ProductBuilderInterface $productBuilder, AttributeValidatorHelper $attrValidatorHelper, AttributeOptionRepositoryInterface $attrOptionRepository, array $supportedTypes) { parent::__construct($productBuilder, $attrValidatorHelper); $this->attrOptionRepository = $attrOptionRepository; $this->supportedTypes = $supportedTypes; }