/**
  * @param ProductUpdaterInterface              $productUpdater
  * @param ValidatorInterface                   $validator
  * @param ProductMassActionRepositoryInterface $massActionRepository
  * @param AttributeRepositoryInterface         $attributeRepository
  * @param JobConfigurationRepositoryInterface  $jobConfigurationRepo
  */
 public function __construct(ProductUpdaterInterface $productUpdater, ValidatorInterface $validator, ProductMassActionRepositoryInterface $massActionRepository, AttributeRepositoryInterface $attributeRepository, JobConfigurationRepositoryInterface $jobConfigurationRepo)
 {
     parent::__construct($jobConfigurationRepo);
     $this->productUpdater = $productUpdater;
     $this->validator = $validator;
     $this->attributeRepository = $attributeRepository;
 }
 /**
  * @param JobConfigurationRepositoryInterface $jobConfigurationRepo
  * @param SerializerInterface                 $serializer
  * @param ChannelManager                      $channelManager
  * @param string                              $uploadDirectory
  */
 public function __construct(JobConfigurationRepositoryInterface $jobConfigurationRepo, SerializerInterface $serializer, ChannelManager $channelManager, $uploadDirectory)
 {
     parent::__construct($jobConfigurationRepo);
     $this->serializer = $serializer;
     $this->channelManager = $channelManager;
     $this->uploadDirectory = $uploadDirectory;
 }
 /**
  * @param ValidatorInterface                  $validator
  * @param JobConfigurationRepositoryInterface $jobConfigurationRepo
  * @param GroupRepositoryInterface            $groupRepository
  * @param ProductTemplateUpdaterInterface     $templateUpdater
  */
 public function __construct(JobConfigurationRepositoryInterface $jobConfigurationRepo, ValidatorInterface $validator, GroupRepositoryInterface $groupRepository, ProductTemplateUpdaterInterface $templateUpdater)
 {
     parent::__construct($jobConfigurationRepo);
     $this->validator = $validator;
     $this->groupRepository = $groupRepository;
     $this->templateUpdater = $templateUpdater;
 }
 /**
  * @param JobConfigurationRepositoryInterface $jobConfigurationRepo
  * @param AttributeRepositoryInterface        $attributeRepository
  * @param ChannelRepositoryInterface          $channelRepository
  * @param AttributeRequirementFactory         $factory
  */
 public function __construct(JobConfigurationRepositoryInterface $jobConfigurationRepo, AttributeRepositoryInterface $attributeRepository, ChannelRepositoryInterface $channelRepository, AttributeRequirementFactory $factory)
 {
     parent::__construct($jobConfigurationRepo);
     $this->attributeRepository = $attributeRepository;
     $this->channelRepository = $channelRepository;
     $this->factory = $factory;
 }
Ejemplo n.º 5
0
    /**
     * @param MassEditRepositoryInterface  $massEditRepository
     * @param ProductUpdaterInterface      $productUpdater
     * @param ValidatorInterface           $validator
     */
    public function __construct(
        MassEditRepositoryInterface $massEditRepository,
        ProductUpdaterInterface $productUpdater,
        ValidatorInterface $validator
    ) {
        parent::__construct($massEditRepository);

        $this->productUpdater = $productUpdater;
        $this->validator      = $validator;
    }
 /**
  * @param ProductUpdaterInterface             $productUpdater
  * @param ValidatorInterface                  $validator
  * @param JobConfigurationRepositoryInterface $jobConfigurationRepo
  */
 public function __construct(ProductUpdaterInterface $productUpdater, ValidatorInterface $validator, JobConfigurationRepositoryInterface $jobConfigurationRepo)
 {
     parent::__construct($jobConfigurationRepo);
     $this->productUpdater = $productUpdater;
     $this->validator = $validator;
 }