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