currencyContext = $currencyContext; $this->languageContext = $languageContext; $this->domainContext = $domainContext; $this->countryContext = $countryContext; $this->userContext = $userContext; $this->priceLevelContext = $priceLevelContext; } /** * @private */ public static function getName(): string { return 'contexts'; } /** * Kód aktivní měny. */ public function field_currency(): string { return $this->currencyContext->getActiveId(); } /** * ID aktivního jazyka. */ public function field_language(): string { return $this->languageContext->getActiveId(); } /** * Aktivní doména. */ public function field_domain(): string { return $this->domainContext->getActiveId(); } /** * Kód aktivní země. */ public function field_country(): string { return $this->countryContext->getActiveId(); } }