Smile\ElasticsuiteTracker\Helper\Data::getStoreId PHP Méthode

getStoreId() public méthode

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

Usage Example

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