getLanguageCode() публичный Метод

Return the locale code (eg.: "en") for a store.
public getLanguageCode ( integer | string | Magento\Store\Api\Data\StoreInterface $store ) : string
$store integer | string | Magento\Store\Api\Data\StoreInterface The store.
Результат string
Пример #1
0
 /**
  * {@inheritDoc}
  */
 public function getAnalysisSettings($store)
 {
     $language = $this->helper->getLanguageCode($store);
     return $this->analysisConfig->get($language);
 }