/** * @param \Pim\Component\Catalog\Builder\ProductBuilderInterface $productBuilder * @param AttributeValidatorHelper $attrValidatorHelper * @param FileStorerInterface $storer * @param FileInfoRepositoryInterface $repository * @param array $supportedTypes */ public function __construct(ProductBuilderInterface $productBuilder, AttributeValidatorHelper $attrValidatorHelper, FileStorerInterface $storer, FileInfoRepositoryInterface $repository, array $supportedTypes) { parent::__construct($productBuilder, $attrValidatorHelper); $this->storer = $storer; $this->repository = $repository; $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 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; }
/** * @param ProductBuilderInterface $productBuilder * @param AttributeValidatorHelper $attrValidatorHelper * @param MetricFactory $metricFactory * @param array $supportedTypes */ public function __construct(ProductBuilderInterface $productBuilder, AttributeValidatorHelper $attrValidatorHelper, MetricFactory $metricFactory, array $supportedTypes) { parent::__construct($productBuilder, $attrValidatorHelper); $this->metricFactory = $metricFactory; $this->supportedTypes = $supportedTypes; }
/** * @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; }