src/TextToSpeech.php
public function getAudioData(): string
    {
        if ($this->data === null) {
            $this->data = $this->provider->textToSpeech($this->text);
        }

        return $this->data;
    }
public function getAudioData(): string
    {
        if ($this->data === null) {
            $this->data = $this->provider->textToSpeech($this->text);
        }

        return $this->data;
    }
public function getAudioData ( ) : string { if ( $ this -> data === null ) { $ this -> data = $ this -> provider -> textToSpeech ( $ this -> text ) ; } return $ this -> data ; }
Get the audio for this text.

@return string The audio data
Get the audio for this text .