Smile\ElasticsuiteCatalog\Helper\Autocomplete::__construct PHP Method

__construct() public method

Constructor.
public __construct ( Magento\Framework\App\Helper\Context $context, Magento\Store\Model\StoreManagerInterface $storeManager, Magento\CatalogInventory\Api\StockConfigurationInterface $stockConfiguration, Mapping $mappingHelper )
$context Magento\Framework\App\Helper\Context Helper context.
$storeManager Magento\Store\Model\StoreManagerInterface Store manager.
$stockConfiguration Magento\CatalogInventory\Api\StockConfigurationInterface Stock Configuration Interface.
$mappingHelper Smile\ElasticsuiteCore\Helper\Mapping Mapping helper.
    public function __construct(Context $context, StoreManagerInterface $storeManager, StockConfigurationInterface $stockConfiguration, MappingHelper $mappingHelper)
    {
        parent::__construct($context, $storeManager);
        $this->storeManager = $storeManager;
        $this->stockConfiguration = $stockConfiguration;
        $this->mappingHelper = $mappingHelper;
    }