speaker = $speaker; } /** * @return string */ public function getSpeaker() { return $this->speaker; } /** * @param string */ public function setText($text) { $this->text = $text; } /** * @return string */ public function getText() { return $this->text; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Turn::class, 'Google_Service_Texttospeech_Turn');