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

Example #1
0
 /**
  * Return the tracked store id.
  *
  * @return int
  */
 public function getStoreId()
 {
     return $this->trackerHelper->getStoreId();
 }