src/TextToSpeech.php
public function generateFilename(): string
    {
        $options = $this->provider->getOptions();

        $options["text"] = $this->text;

        $data = serialize($options);

        return md5($data) . "." . $this->provider->getFormat();
    }
public function generateFilename(): string
    {
        $options = $this->provider->getOptions();

        $options["text"] = $this->text;

        $data = serialize($options);

        return md5($data) . "." . $this->provider->getFormat();
    }
public function generateFilename ( ) : string { $ options = $ this -> provider -> getOptions ( ) ; $ options [ "text" ] = $ this -> text ; $ data = serialize ( $ options ) ; return md5 ( $ data ) . "." . $ this -> provider -> getFormat ( ) ; }
Generate the filename to be used for this text.

@return string
Generate the filename to be used for this text .