voices = $voices; } /** * @return Voice[] */ public function getVoices() { return $this->voices; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ListVoicesResponse::class, 'Google_Service_Texttospeech_ListVoicesResponse');