53 private $defaultLocalePath;
68 $this->defaultLocalePath = $defaultLocalePath;
78 return $this->defaultLocalePath;
95 if (!$this->defaultLocale) {
100 $this->defaultLocale =
$locale;
123 if ($this->locale ===
null) {
136 $this->emulatedLocales[] = $this->
getLocale();
137 $this->locale = $this->scopeConfig->getValue(
144 $this->emulatedLocales[] =
false;
155 $localeCode = array_pop($this->emulatedLocales);
157 $this->locale = $localeCode;
__construct(ScopeConfigInterface $scopeConfig, $defaultLocalePath, $scopeType, $locale=null)
setDefaultLocale($locale)