/** * @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 array $supportedTypes */ public function __construct(ProductBuilderInterface $productBuilder, AttributeValidatorHelper $attrValidatorHelper, array $supportedTypes) { parent::__construct($productBuilder, $attrValidatorHelper); $this->supportedTypes = $supportedTypes; }