src/Providers/AcapelaProvider.php
public function withVoice(string $voice): self
    {
        $provider = clone $this;

        $provider->voice = $this->getVoice($voice);

        return $provider;
    }
public function withVoice(string $voice): self
    {
        $provider = clone $this;

        $provider->voice = $this->getVoice($voice);

        return $provider;
    }
public function withVoice ( string $ voice ) : self { $ provider = clone $ this ; $ provider -> voice = $ this -> getVoice ( $ voice ) ; return $ provider ; }
Set the voice to use.

Visit http://www.acapela-vaas.com/ReleasedDocumentation/voices_list.php for available voices

@param string $voice The voice to use (eg 'Graham')

@return self
Set the voice to use .