$upload->process()
Upload the files and call closure for each file
$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
This method modifies the existing $upload
object it is applied to and returns it again.
Exceptions
Type | Description |
---|---|
Exception |
Any upload error |