public function speakSentence($args /* polymorphic */)
  {
    $args = Ensure::Input($args);
    $url = new URIResource($this->getAudioUrl()); 
    $data = $args->get();

    $this->client->post((string) $url, $data);    
  }
public function speakSentence($args /* polymorphic */)
  {
    $args = Ensure::Input($args);
    $url = new URIResource($this->getAudioUrl()); 
    $data = $args->get();

    $this->client->post((string) $url, $data);    
  }
public function speakSentence ( $ args /* polymorphic */ ) { $ args = Ensure :: Input ( $ args ) ; $ url = new URIResource ( $ this -> getAudioUrl ( ) ) ; $ data = $ args -> get ( ) ; $ this -> client -> post ( ( string ) $ url , $ data ) ; }
Speak a sentence.
where voice in args has to be a
valid voice

@param args [assoc array]
Speak a sentence . where voice in args has to be a valid voice