Smile\ElasticsuiteCatalogRule\Model\Rule\Condition\Product\AttributeList::__construct PHP Method

__construct() public method

Constructor.
public __construct ( Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $attributeCollectionFactory, Magento\Store\Model\StoreManagerInterface $storeManager, Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface $indexManager, Mapping $mappingHelper, string $indexName = 'catalog_product', string $typeName = 'product' )
$attributeCollectionFactory Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory Product attribute collection factory.
$storeManager Magento\Store\Model\StoreManagerInterface Store manager.
$indexManager Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface Search engine index manager.
$mappingHelper Smile\ElasticsuiteCore\Helper\Mapping Mapping helper.
$indexName string Search engine index name.
$typeName string Search engine type name.
    public function __construct(AttributeCollectionFactory $attributeCollectionFactory, StoreManagerInterface $storeManager, IndexOperationInterface $indexManager, MappingHelper $mappingHelper, $indexName = 'catalog_product', $typeName = 'product')
    {
        $this->attributeCollectionFactory = $attributeCollectionFactory;
        $this->storeManager = $storeManager;
        $this->indexManager = $indexManager;
        $this->indexName = $indexName;
        $this->typeName = $typeName;
        $this->mappingHelper = $mappingHelper;
    }