Lines Matching refs:languageCode
52 private string $languageCode;
55 public function __construct(string $languageCode, string $countryCode)
57 $this->setLanguageCode($languageCode);
63 return $this->languageCode;
66 public function setLanguageCode(string $languageCode): void
68 $this->languageCode = $languageCode;
83 [$languageCode, $countryCode] = explode('_', $combinedCode, 2);
85 $this->setLanguageCode($languageCode);
91 return \sprintf("%s_%s", $this->languageCode, $this->countryCode);
111 public string $languageCode;
122 get => \sprintf("%s_%s", $this->languageCode, $this->countryCode);
124 [$this->countryCode, $this->languageCode] = explode('_', $value, 2);
128 public function __construct(string $languageCode, string $countryCode)
130 $this->languageCode = $languageCode;