$file->match()
Runs a set of validations on the file object (mainly for images).
Parameters
Name | Type | Default |
---|---|---|
$rules * | array |
– |
Return type
bool
Exceptions
Type | Description |
---|---|
Kirby\Exception\Exception |
Runs a set of validations on the file object (mainly for images).
Name | Type | Default |
---|---|---|
$rules * | array |
– |
bool
Type | Description |
---|---|
Kirby\Exception\Exception |