/** * Constructor * * @param RegistryInterface $doctrine * @param PropertyAccessorInterface $propertyAccessor * @param GuesserInterface $guesser * @param ColumnInfoTransformerInterface $colInfoTransformer * @param ProductManager $productManager * @param AttributeCache $attributeCache * @param CachedReader $associationReader */ public function __construct(ManagerRegistry $doctrine, PropertyAccessorInterface $propertyAccessor, GuesserInterface $guesser, ColumnInfoTransformerInterface $colInfoTransformer, ProductManager $productManager, AttributeCache $attributeCache, CachedReader $associationReader) { parent::__construct($doctrine, $propertyAccessor, $guesser, $colInfoTransformer); $this->productManager = $productManager; $this->attributeCache = $attributeCache; $this->associationReader = $associationReader; }
/** * Constructor * * @param ManagerRegistry $doctrine * @param PropertyAccessorInterface $propertyAccessor * @param GuesserInterface $guesser * @param ColumnInfoTransformerInterface $colInfoTransformer * @param AttributeCache $attributeCache * @param CachedReader $associationReader * @param ProductTemplateUpdaterInterface $templateUpdater * @param \Pim\Component\Catalog\Builder\ProductBuilderInterface $productBuilder * @param ProductRepositoryInterface $productRepository * @param string $productClass * @param string $productValueClass */ public function __construct(ManagerRegistry $doctrine, PropertyAccessorInterface $propertyAccessor, GuesserInterface $guesser, ColumnInfoTransformerInterface $colInfoTransformer, AttributeCache $attributeCache, CachedReader $associationReader, ProductTemplateUpdaterInterface $templateUpdater, ProductBuilderInterface $productBuilder, ProductRepositoryInterface $productRepository, $productClass, $productValueClass) { parent::__construct($doctrine, $propertyAccessor, $guesser, $colInfoTransformer); $this->productRepository = $productRepository; $this->attributeCache = $attributeCache; $this->associationReader = $associationReader; $this->templateUpdater = $templateUpdater; $this->productBuilder = $productBuilder; $this->productClass = $productClass; $this->productValueClass = $productValueClass; }
/** * Constructor * * @param ManagerRegistry $doctrine * @param PropertyAccessorInterface $propertyAccessor * @param GuesserInterface $guesser * @param ColumnInfoTransformerInterface $colInfoTransformer * @param string $productClass * @param string $associationTypeClass */ public function __construct(ManagerRegistry $doctrine, PropertyAccessorInterface $propertyAccessor, GuesserInterface $guesser, ColumnInfoTransformerInterface $colInfoTransformer, $productClass, $associationTypeClass) { parent::__construct($doctrine, $propertyAccessor, $guesser, $colInfoTransformer); $this->productClass = $productClass; $this->associationTypeClass = $associationTypeClass; }
/** * Constructor * * @param RegistryInterface $doctrine * @param PropertyAccessorInterface $propertyAccessor * @param GuesserInterface $guesser * @param ColumnInfoTransformerInterface $colInfoTransformer * @param EntityTransformerInterface $transformerRegistry */ public function __construct(ManagerRegistry $doctrine, PropertyAccessorInterface $propertyAccessor, GuesserInterface $guesser, ColumnInfoTransformerInterface $colInfoTransformer, EntityTransformerInterface $transformerRegistry) { parent::__construct($doctrine, $propertyAccessor, $guesser, $colInfoTransformer); $this->transformerRegistry = $transformerRegistry; }