FileOptions class
continuous-integration/drone/push Build is failing

This commit is contained in:
mathieu_c committed 2024-01-12 14:00:06 +00:00
1 parent bd500406d3
commit e389e72844
6 files changed
+56 -11

No files matched your search

+2 -4
View File
@@ -66,8 +66,6 @@ $form = $client->htmlForm();
```
Rename files inside zip
```php
$file = (new FileRequest('http://example.com/image.png'))
->fileOptions([
'name' => 'my-new-name.png'
]);
$file = new FileRequest('http://example.com/image.png');
$file->getFileOptions()->name('new-name.png');
```