PHP Класс Smile\ElasticsuiteCore\Index\Analysis\Config

Автор: Aurelien FOUCRET ([email protected])
Наследование: extends Magento\Framework\Config\Data
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Reader $reader, Magento\Framework\Config\CacheInterface $cache, string $cacheId = self::CACHE_ID ) Constructor.
get ( string $language = null, mixed $default = null ) : mixed Return analysis config by language.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( Reader $reader, Magento\Framework\Config\CacheInterface $cache, string $cacheId = self::CACHE_ID )
$reader Smile\ElasticsuiteCore\Index\Analysis\Config\Reader Config file reader.
$cache Magento\Framework\Config\CacheInterface Cache instance.
$cacheId string Default config cache id.

get() публичный Метод

Return analysis config by language.
public get ( string $language = null, mixed $default = null ) : mixed
$language string A language code (eg: en, fr, ...).
$default mixed Default value if no config is found.
Результат mixed