Smile\ElasticsuiteThesaurus\Model\ResourceModel\Thesaurus\Collection::setStoreId PHP Method

setStoreId() public method

Set Store ID for filter
public setStoreId ( Magento\Store\Model\Store | integer $store )
$store Magento\Store\Model\Store | integer The store
    public function setStoreId($store)
    {
        if ($store instanceof Store) {
            $store = $store->getId();
        }
        $this->storeId = $store;
        return $this;
    }