PHP Class Smile\ElasticsuiteCatalog\Model\Product\Indexer\Fulltext\Action\FullFactory

Author: Aurelien FOUCRET ([email protected])
Inheritance: extends Magento\CatalogSearch\Model\Indexer\Fulltext\Action\FullFactory
Show file Open project: smile-sa/elasticsuite

Public Methods

Method Description
__construct ( Magento\Framework\ObjectManagerInterface $objectManager, Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, string $configPath = EngineInterface::CONFIG_ENGINE_PATH, array $fullActionPool = [] )
create ( array $data = [] ) : mixed Create an indexer using the right class depending of the configuration.

Method Details

__construct() public method

public __construct ( Magento\Framework\ObjectManagerInterface $objectManager, Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, string $configPath = EngineInterface::CONFIG_ENGINE_PATH, array $fullActionPool = [] )
$objectManager Magento\Framework\ObjectManagerInterface Object manager.
$scopeConfig Magento\Framework\App\Config\ScopeConfigInterface Configuration.
$configPath string Search engine config path.
$fullActionPool array List of indexers class by engine.

create() public method

Create an indexer using the right class depending of the configuration.
public create ( array $data = [] ) : mixed
$data array Data passed to the indexer while it is instantiated.
return mixed