displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * Supported language code, generally consisting of its ISO 639-1 identifier, * for example, 'en', 'ja'. In certain cases, ISO-639 codes including language * and region identifiers are returned (for example, 'zh-TW' and 'zh-CN'). * * @param string $languageCode */ public function setLanguageCode($languageCode) { $this->languageCode = $languageCode; } /** * @return string */ public function getLanguageCode() { return $this->languageCode; } /** * Can be used as a source language. * * @param bool $supportSource */ public function setSupportSource($supportSource) { $this->supportSource = $supportSource; } /** * @return bool */ public function getSupportSource() { return $this->supportSource; } /** * Can be used as a target language. * * @param bool $supportTarget */ public function setSupportTarget($supportTarget) { $this->supportTarget = $supportTarget; } /** * @return bool */ public function getSupportTarget() { return $this->supportTarget; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SupportedLanguage::class, 'Google_Service_Translate_SupportedLanguage');