When creating a validator with a factory, you can use either the fully qualified validator class
name or its short alias. The short aliases for the standard validators are defined by the
ValidatorPluginManager
class.
The
ValidatorPluginManager
class defines validator aliases.
A standard validator's alias is typically the same as class name. For example, the class
Zend\Validator\EmailAddress
has the short alias EmailAddress
.
The validator plugin manager is internally used by the InputFilter
container class for
instantiating the standard validators.