PHP Class Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig

Author: Romain Ruaud ([email protected])
Inheritance: extends Magento\Config\Model\Config
Afficher le fichier Open project: smile-sa/elasticsuite

Protected Properties

Свойство Type Description
$containersSource Smile\ElasticsuiteCore\Model\Search\Request\Source\Containers
$fullConfig If getting full config or not

Méthodes publiques

Méthode Description
__construct ( Magento\Framework\App\Config\ReinitableConfigInterface $config, Magento\Framework\Event\ManagerInterface $eventManager, Magento\Config\Model\Config\Structure $configStructure, Magento\Framework\DB\TransactionFactory $transactionFactory, Magento\Config\Model\Config\Loader $configLoader, Magento\Framework\App\Config\ValueFactory $configValueFactory, Magento\Store\Model\StoreManagerInterface $storeManager, Containers $containersSource, array $data = [] ) Class constructor
load ( ) : array Load config data for section
save ( ) Save config section Require set: section, website, store and groups

Private Methods

Méthode Description
initScope ( ) : void Get scope name and scopeId

Method Details

__construct() public méthode

Class constructor
public __construct ( Magento\Framework\App\Config\ReinitableConfigInterface $config, Magento\Framework\Event\ManagerInterface $eventManager, Magento\Config\Model\Config\Structure $configStructure, Magento\Framework\DB\TransactionFactory $transactionFactory, Magento\Config\Model\Config\Loader $configLoader, Magento\Framework\App\Config\ValueFactory $configValueFactory, Magento\Store\Model\StoreManagerInterface $storeManager, Containers $containersSource, array $data = [] )
$config Magento\Framework\App\Config\ReinitableConfigInterface Configuration interface
$eventManager Magento\Framework\Event\ManagerInterface Event Manager
$configStructure Magento\Config\Model\Config\Structure Configuration Structure
$transactionFactory Magento\Framework\DB\TransactionFactory Transaction Factory
$configLoader Magento\Config\Model\Config\Loader Configuration Loader
$configValueFactory Magento\Framework\App\Config\ValueFactory Configuration Value Factory
$storeManager Magento\Store\Model\StoreManagerInterface Store Manager
$containersSource Smile\ElasticsuiteCore\Model\Search\Request\Source\Containers The Containers source model
$data array The data

load() public méthode

Load config data for section
public load ( ) : array
Résultat array

save() public méthode

Save config section Require set: section, website, store and groups
public save ( )

Property Details

$containersSource protected_oe property

protected Containers,Smile\ElasticsuiteCore\Model\Search\Request\Source $containersSource
Résultat Smile\ElasticsuiteCore\Model\Search\Request\Source\Containers

$fullConfig protected_oe property

If getting full config or not
protected $fullConfig