Smile\ElasticsuiteThesaurus\Model\ResourceModel\Thesaurus::getStoreIdsFromThesaurusId PHP Method

getStoreIdsFromThesaurusId() public method

Retrieve Store Ids for a given thesaurus
public getStoreIdsFromThesaurusId ( integer $thesaurusId ) : array
$thesaurusId integer The thesaurus Id
return array
    public function getStoreIdsFromThesaurusId($thesaurusId)
    {
        $connection = $this->getConnection();
        $select = $connection->select();
        $select->from($this->getTable(ThesaurusInterface::STORE_TABLE_NAME), ThesaurusInterface::STORE_ID)->where(ThesaurusInterface::THESAURUS_ID . ' = ?', (int) $thesaurusId);
        return $connection->fetchCol($select);
    }