public __construct ( ItemFactory $itemFactory, Collection $productCollection, Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $attributeCollectionFactory, Autocomplete $autocompleteHelper, Magento\Store\Model\StoreManagerInterface $storeManager, string $type = self::AUTOCOMPLETE_TYPE ) |
$itemFactory |
ItemFactory |
Autocomplete item factory. |
$productCollection |
Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Fulltext\Collection |
Autocomplete product collection. |
$attributeCollectionFactory |
Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory |
Product attribute collection factory. |
$autocompleteHelper |
Smile\ElasticsuiteCatalog\Helper\Autocomplete |
Autocomplete configuration helper. |
$storeManager |
Magento\Store\Model\StoreManagerInterface |
Store manager. |
$type |
string |
Autocomplete type code. |