Caution: The documentation you are viewing is
for an older version of Zend Framework.
You can find the documentation of the current version at:
https://docs.zendframework.com/
ExcludeExtension — Zend Framework 2 2.1.5 documentation
Zend\Validator\File\ExcludeExtension checks the extension of files. It will assert false when a given file has one the a defined extensions.
This validator is inversely related to the Extension validator.
Please refer to the Extension validator for options and usage examples.