ExcludeMimeType

Zend\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.