Skip to main content

Value Objects

It is recommended to use the static with constructor AzureVoiceSettings::with(type: 'azure', ...) and named parameters to initialize value objects. However, builders are also provided (new AzureVoiceSettings)->withType('azure').

File uploads

Request parameters that correspond to file uploads can be passed as a resource returned by fopen(), a string of file contents, or a FileParam instance.