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

This commit is contained in:
2024-01-12 14:00:06 +00:00
parent bd500406d3
commit e389e72844
6 changed files with 56 additions and 11 deletions
+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');
```