Svgz::validate()
Validates file contents
Parameters
Name | Type | Default |
---|---|---|
$string * | string |
– |
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |
If the file couldn't be parsed |
Kirby\Exception\InvalidArgumentException |
If the file didn't pass validation |