PHP Class Smile\ElasticsuiteCore\Search\Request\ContainerConfiguration\BaseConfig

Author: Aurelien FOUCRET ([email protected])
Inheritance: extends Magento\Framework\Config\Data
显示文件 Open project: smile-sa/elasticsuite Class Usage Examples

Public Methods

Method Description
__construct ( Reader $reader, Magento\Framework\Config\CacheInterface $cache, Smile\ElasticsuiteCore\Api\Index\IndexSettingsInterface $indexSettings, string $cacheId = self::CACHE_ID ) Constructor.

Private Methods

Method Description
addMappings ( ) : BaseConfig Append the type mapping to search requests configuration.

Method Details

__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.