customLanguage = $customLanguage; } /** * @return string */ public function getCustomLanguage() { return $this->customLanguage; } /** * @param string */ public function setLanguageCode($languageCode) { $this->languageCode = $languageCode; } /** * @return string */ public function getLanguageCode() { return $this->languageCode; } /** * @param string */ public function setPreference($preference) { $this->preference = $preference; } /** * @return string */ public function getPreference() { return $this->preference; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(UserLanguage::class, 'Google_Service_Directory_UserLanguage');