Skip to content

Kirby 6.0.0

new Upload()

new Upload() 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.

new Upload(Api $api, bool $single = true, bool $debug = false, string|null $template = null, Closure|null $preflight = null)

Parameters

Name Type Default
$apirequired Kirby\Api\Api no default value
$single bool true
$debug bool false
$template stringornull null
$preflight Closureornull null

Parent class

Kirby\Api\Upload