/** * Constructor * * @param PageCollectionFactory $collectionFactory * @param CmsFilterProvider $cmsFilterProvider * @param IndexerFactory $indexer * @param SearcherFactory $searcher */ public function __construct(PageCollectionFactory $collectionFactory, CmsFilterProvider $cmsFilterProvider, EmailTemplateFactory $emailTemplateFactory, IndexerFactory $indexer, SearcherFactory $searcher) { $this->collectionFactory = $collectionFactory; $this->cmsFilterProvider = $cmsFilterProvider; $this->emailTemplateFactory = $emailTemplateFactory; parent::__construct($indexer, $searcher); }
/** * @param AttributeCollectionFactory $attributeCollectionFactory * @param Attribute $eavAttribute * @param LayerResolver $layerResolver * @param EavConfig $eavConfig * @param Config $config * @param ObjectManagerInterface $objectManager * @param IndexerFactory $indexer * @param SearcherFactory $searcher */ public function __construct(AttributeCollectionFactory $attributeCollectionFactory, Attribute $eavAttribute, LayerResolver $layerResolver, EavConfig $eavConfig, Config $config, ObjectManagerInterface $objectManager, IndexerFactory $indexer, SearcherFactory $searcher) { $this->attributeCollectionFactory = $attributeCollectionFactory; $this->eavAttribute = $eavAttribute; $this->layerResolver = $layerResolver; $this->eavConfig = $eavConfig; $this->config = $config; $this->objectManager = $objectManager; parent::__construct($indexer, $searcher); }
/** * Constructor * * @param StoreManagerInterface $storeManager * @param CategoryCollectionFactory $collectionFactory * @param IndexerFactory $indexer * @param SearcherFactory $searcher */ public function __construct(StoreManagerInterface $storeManager, CategoryCollectionFactory $collectionFactory, IndexerFactory $indexer, SearcherFactory $searcher) { $this->storeManager = $storeManager; $this->collectionFactory = $collectionFactory; parent::__construct($indexer, $searcher); }
/** * Constructor * * @param IndexerFactory $indexerFactory * @param SearcherFactory $searcherFactory * @param PostCollectionFactory $postCollectionFactory * @param ResourceConnection $resourceConnection */ public function __construct(IndexerFactory $indexerFactory, SearcherFactory $searcherFactory, PostCollectionFactory $postCollectionFactory, ResourceConnection $resourceConnection) { $this->postCollectionFactory = $postCollectionFactory; $this->resourceConnection = $resourceConnection; parent::__construct($indexerFactory, $searcherFactory); }