/** * @param string[] $supportedTypes * @param ProductBuilder $productBuilder */ public function __construct(array $supportedTypes, ProductBuilder $productBuilder) { parent::__construct($supportedTypes); $this->productBuilder = $productBuilder; }
/** * @param array $supportedTypes * @param ReferenceDataRepositoryResolverInterface $repositoryResolver */ public function __construct(array $supportedTypes, ReferenceDataRepositoryResolverInterface $repositoryResolver = null) { parent::__construct($supportedTypes); $this->repositoryResolver = $repositoryResolver; }
/** * @param array $supportedTypes * @param MediaManager $manager */ public function __construct(array $supportedTypes, MediaManager $manager) { parent::__construct($supportedTypes); $this->manager = $manager; }
/** * @param array $supportedTypes * @param MetricFactory $factory */ public function __construct(array $supportedTypes, MetricFactory $factory) { parent::__construct($supportedTypes); $this->factory = $factory; }
/** * @param string[] $supportedTypes * @param AttributeOptionRepositoryInterface $repository */ public function __construct(array $supportedTypes, AttributeOptionRepositoryInterface $repository) { parent::__construct($supportedTypes); $this->repository = $repository; }
/** * @param array $supportedTypes * @param FileRepositoryInterface $repository * @param RawFileStorerInterface $storer */ public function __construct(array $supportedTypes, FileRepositoryInterface $repository, RawFileStorerInterface $storer) { parent::__construct($supportedTypes); $this->repository = $repository; $this->storer = $storer; }
/** * @param array $supportedTypes * @param AttributeOptionDenormalizer $denormalizer */ public function __construct(array $supportedTypes, AttributeOptionDenormalizer $denormalizer) { parent::__construct($supportedTypes); $this->denormalizer = $denormalizer; }