Smile\ElasticsuiteTracker\Helper\Data::getStoreId PHP Method

getStoreId() public method

Retrieve current store Id
public getStoreId ( ) : integer
return integer
    public function getStoreId()
    {
        return $this->storeManager->getStore()->getId();
    }

Usage Example

コード例 #1
0
ファイル: Config.php プロジェクト: smile-sa/elasticsuite
 /**
  * Return the tracked store id.
  *
  * @return int
  */
 public function getStoreId()
 {
     return $this->trackerHelper->getStoreId();
 }