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

Author: Romain Ruaud ([email protected])
Inheritance: implements Smile\ElasticsuiteCore\Api\Index\DatasourceInterface
Afficher le fichier Open project: smile-sa/elasticsuite

Méthodes publiques

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

Method Details

__construct() public méthode

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

addData() public méthode

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