Caution
The documentation you are viewing is for an older version of this component.
Switch to the latest (v3) version.
File Validators
ExcludeMimeType
Laminas\Validator\File\ExcludeMimeType
checks the MIME type of files. It will
assert false
when a given file matches any of the defined MIME types.
This validator is inversely related to the MimeType validator; please refer to that validator's documentation for full options and usage examples.