categories = $categories; } /** * @return ClassificationCategory[] */ public function getCategories() { return $this->categories; } /** * @param string */ public function setLanguageCode($languageCode) { $this->languageCode = $languageCode; } /** * @return string */ public function getLanguageCode() { return $this->languageCode; } /** * @param bool */ public function setLanguageSupported($languageSupported) { $this->languageSupported = $languageSupported; } /** * @return bool */ public function getLanguageSupported() { return $this->languageSupported; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ClassifyTextResponse::class, 'Google_Service_CloudNaturalLanguage_ClassifyTextResponse');