public function getStoreIds()
    {
        if ($this->storeManager->isSingleStoreMode()) {
            $this->storeIds = [$this->storeManager->getStore(true)->getId()];
        }

        if (empty($this->storeIds)) {
            $this->storeIds = $this->getResource()->getStoreIdsFromThesaurusId($this->getThesaurusId());
        }

        return $this->storeIds;
    }
public function getStoreIds()
    {
        if ($this->storeManager->isSingleStoreMode()) {
            $this->storeIds = [$this->storeManager->getStore(true)->getId()];
        }

        if (empty($this->storeIds)) {
            $this->storeIds = $this->getResource()->getStoreIdsFromThesaurusId($this->getThesaurusId());
        }

        return $this->storeIds;
    }
public function getStoreIds ( ) { if ( $ this -> storeManager -> isSingleStoreMode ( ) ) { $ this -> storeIds = [ $ this -> storeManager -> getStore ( true ) -> getId ( ) ] ; } if ( empty ( $ this -> storeIds ) ) { $ this -> storeIds = $ this -> getResource ( ) -> getStoreIdsFromThesaurusId ( $ this -> getThesaurusId ( ) ) ; } return $ this -> storeIds ; }
Get store ids

@return int[]
Get store ids