/** * @param ProductBuilderInterface $productBuilder * @param AttributeValidatorHelper $attrValidatorHelper * @param MetricFactory $metricFactory * @param MeasureManager $measureManager * @param array $supportedTypes */ public function __construct(ProductBuilderInterface $productBuilder, AttributeValidatorHelper $attrValidatorHelper, MetricFactory $metricFactory, MeasureManager $measureManager, array $supportedTypes) { parent::__construct($productBuilder, $attrValidatorHelper); $this->metricFactory = $metricFactory; $this->measureManager = $measureManager; $this->supportedTypes = $supportedTypes; }
/** * @param ProductBuilderInterface $productBuilder * @param AttributeValidatorHelper $attrValidatorHelper * @param MediaManager $manager * @param MediaFactory $mediaFactory * @param array $supportedTypes * @param string $uploadDir */ public function __construct(ProductBuilderInterface $productBuilder, AttributeValidatorHelper $attrValidatorHelper, MediaManager $manager, MediaFactory $mediaFactory, array $supportedTypes, $uploadDir) { parent::__construct($productBuilder, $attrValidatorHelper); $this->mediaManager = $manager; $this->mediaFactory = $mediaFactory; $this->supportedTypes = $supportedTypes; $this->uploadDir = $uploadDir; }
/** * @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; }
/** * @param ProductBuilderInterface $productBuilder * @param AttributeValidatorHelper $attrValidatorHelper * @param ReferenceDataRepositoryResolverInterface $repositoryResolver * @param array $supportedTypes */ public function __construct(ProductBuilderInterface $productBuilder, AttributeValidatorHelper $attrValidatorHelper, ReferenceDataRepositoryResolverInterface $repositoryResolver, array $supportedTypes) { parent::__construct($productBuilder, $attrValidatorHelper); $this->repositoryResolver = $repositoryResolver; $this->supportedTypes = $supportedTypes; }