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