PHP Class Smile\ElasticsuiteThesaurus\Setup\InstallData

Author: Romain Ruaud ([email protected])
Inheritance: implements Magento\Framework\Setup\InstallDataInterface
Show file Open project: smile-sa/elasticsuite

Public Methods

Method Description
__construct ( Magento\Framework\Indexer\IndexerInterfaceFactory $indexerFactory ) Class Constructor
install ( Magento\Framework\Setup\ModuleDataSetupInterface $setup, Magento\Framework\Setup\ModuleContextInterface $context ) : void Installs module data.

Private Methods

Method Description
getIndexer ( string $indexerId ) : Magento\Framework\Indexer\IndexerInterface Retrieve an indexer by its Id

Method Details

__construct() public method

Class Constructor
public __construct ( Magento\Framework\Indexer\IndexerInterfaceFactory $indexerFactory )
$indexerFactory Magento\Framework\Indexer\IndexerInterfaceFactory Indexer Factory.

install() public method

Rebuild Thesaurus index.
public install ( Magento\Framework\Setup\ModuleDataSetupInterface $setup, Magento\Framework\Setup\ModuleContextInterface $context ) : void
$setup Magento\Framework\Setup\ModuleDataSetupInterface Setup Interface
$context Magento\Framework\Setup\ModuleContextInterface Module Context Interface
return void