/** * @param string[] $supportedTypes * @param AttributeOptionRepositoryInterface $repository */ public function __construct(array $supportedTypes, AttributeOptionRepositoryInterface $repository) { parent::__construct($supportedTypes); $this->repository = $repository; }
/** * @param array $supportedTypes * @param ReferenceDataRepositoryResolverInterface $repositoryResolver */ public function __construct(array $supportedTypes, ReferenceDataRepositoryResolverInterface $repositoryResolver = null) { parent::__construct($supportedTypes); $this->repositoryResolver = $repositoryResolver; }
/** * @param array $supportedTypes * @param MetricFactory $factory */ public function __construct(array $supportedTypes, MetricFactory $factory) { parent::__construct($supportedTypes); $this->factory = $factory; }
/** * @param array $supportedTypes * @param DenormalizerInterface $referenceDataDenormalizer */ public function __construct(array $supportedTypes, DenormalizerInterface $referenceDataDenormalizer) { parent::__construct($supportedTypes); $this->referenceDataDenormalizer = $referenceDataDenormalizer; }
/** * @param array $supportedTypes * @param FileInfoRepositoryInterface $repository */ public function __construct(array $supportedTypes, FileInfoRepositoryInterface $repository) { parent::__construct($supportedTypes); $this->repository = $repository; }
/** * @param array $supportedTypes * @param MediaManager $mediaManager */ public function __construct(array $supportedTypes, MediaManager $mediaManager) { parent::__construct($supportedTypes); $this->mediaManager = $mediaManager; }
/** * @param string[] $supportedTypes * @param string $productPriceClass */ public function __construct(array $supportedTypes, $productPriceClass) { parent::__construct($supportedTypes); $this->productPriceClass = $productPriceClass; }