PHP Class Smile\ElasticsuiteCatalog\Model\Product\Indexer\Fulltext\Datasource\InventoryData

Author: Romain Ruaud ([email protected])
Inheritance: implements Smile\ElasticsuiteCore\Api\Index\DatasourceInterface
显示文件 Open project: smile-sa/elasticsuite

Public Methods

Method Description
__construct ( InventoryData $resourceModel ) Constructor.
addData ( $storeId, array $indexData ) Add inventory data to the index data.

Method Details

__construct() public method

Constructor.
public __construct ( InventoryData $resourceModel )
$resourceModel Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Indexer\Fulltext\Datasource\InventoryData Resource model.

addData() public method

public addData ( $storeId, array $indexData )
$indexData array