PHP Class Smile\ElasticsuiteCore\Helper\AbstractConfiguration

Author: Aurelien FOUCRET ([email protected])
Inheritance: extends Magento\Framework\App\Helper\AbstractHelper
Show file Open project: smile-sa/elasticsuite

Protected Properties

Property Type Description
$storeManager Magento\Store\Model\StoreManagerInterface

Public Methods

Method Description
__construct ( Magento\Framework\App\Helper\Context $context, Magento\Store\Model\StoreManagerInterface $storeManager ) Constructor.

Protected Methods

Method Description
getElasticSuiteConfigParam ( string $configField ) : mixed Read a configuration param under the BASE_CONFIG_XML_PREFIX ('smile_elasticsuite_core_base_settings').

Method Details

__construct() public method

Constructor.
public __construct ( Magento\Framework\App\Helper\Context $context, Magento\Store\Model\StoreManagerInterface $storeManager )
$context Magento\Framework\App\Helper\Context Helper context.
$storeManager Magento\Store\Model\StoreManagerInterface Store manager.

getElasticSuiteConfigParam() protected method

Read a configuration param under the BASE_CONFIG_XML_PREFIX ('smile_elasticsuite_core_base_settings').
protected getElasticSuiteConfigParam ( string $configField ) : mixed
$configField string Configuration field name.
return mixed

Property Details

$storeManager protected property

protected StoreManagerInterface,Magento\Store\Model $storeManager
return Magento\Store\Model\StoreManagerInterface