$fileValidators->validateUpload()
Validates the uploaded file against the general file rules as well as the accept settings of the file blueprint
$fileValidators->validateUpload(File $upload): void
Parameters
| Name | Type | Default |
|---|---|---|
| $uploadrequired | Kirby\Filesystem\File |
no default value |