$upload->process()
Upload the files and call closure for each file; errors of the individual files are part of the response
$upload->process() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
$upload->process(Closure $callback): array
Parameters
| Name | Type | Default |
|---|---|---|
| $callbackrequired | Closure |
no default value |
Return type
array
Exceptions
| Type | Description |
|---|---|
Exception |
If the request has no files |