public function getLocaleCode($store) { $configPath = self::LOCALE_CODE_CONFIG_XML_PATH; $scopeType = ScopeInterface::SCOPE_STORES; $store = $this->getStore($store); return $this->scopeConfig->getValue($configPath, $scopeType, $store); }