Smile\ElasticsuiteCore\Search\Request\ContainerConfiguration\BaseConfig::__construct PHP Method

__construct() public method

Constructor.
public __construct ( Reader $reader, Magento\Framework\Config\CacheInterface $cache, Smile\ElasticsuiteCore\Api\Index\IndexSettingsInterface $indexSettings, string $cacheId = self::CACHE_ID )
$reader Smile\ElasticsuiteCore\Search\Request\ContainerConfiguration\BaseConfig\Reader Config file reader.
$cache Magento\Framework\Config\CacheInterface Cache interface.
$indexSettings Smile\ElasticsuiteCore\Api\Index\IndexSettingsInterface Index settings.
$cacheId string Config cache id.
    public function __construct(Reader $reader, CacheInterface $cache, IndexSettingsInterface $indexSettings, $cacheId = self::CACHE_ID)
    {
        parent::__construct($reader, $cache, $cacheId);
        $this->indexSettings = $indexSettings;
        $this->addMappings();
    }