Handler::validateFile()
Validates the contents of a file
Parameters
Name | Type | Default |
---|---|---|
$file * | string |
– |
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |
If the file didn't pass validation |
Kirby\Exception\Exception |
On other errors |