Validator

Table of Contents

Interfaces

ObjectValidatorInterface
Contract for a validator
ValidatorInterface
Contract for a validator

Classes

AbstractCompositeValidator
An abstract composite validator consisting of other validators
AbstractGenericObjectValidator
A generic object validator which allows for specifying property validators.
AbstractValidator
Abstract validator. Mother af most validators.
AlphanumericValidator
Validator for alphanumeric strings
BooleanValidator
Validator for boolean values
CollectionValidator
A generic collection validator.
ConjunctionValidator
Validator to chain many validators in a conjunction (logical and).
DateTimeValidator
Validator for DateTime/DateTimeImmutable objects.
DisjunctionValidator
Validator to chain many validators in a disjunction (logical or).
EmailAddressValidator
Validator for email addresses
FileNameValidator
Validates, that the given UploadedFile or ObjectStorage of UploadedFile objects does not contain a php executable file by checking the given file extension.
FileSizeValidator
Validator for file size of a given UploadedFile or ObjectStorage of UploadedFile objects.
FloatValidator
Validator for floats.
GenericObjectValidator
A generic object validator which allows for specifying property validators.
ImageDimensionsValidator
Validator to validate image dimensions of a given UploadedFile or ObjectStorage of UploadedFile objects.
IntegerValidator
Validator for integers.
MimeTypeValidator
Validator for mime types of a given UploadedFile or ObjectStorage of UploadedFile objects. Does also validate, if the given file extension matches allowed file extensions for the detected mime type.
NotEmptyValidator
Validator for not empty values.
NumberRangeValidator
Validator for general numbers
NumberValidator
Validator for general numbers.
RegularExpressionValidator
Validator based on regular expressions.
StringLengthValidator
Validator for string length.
StringValidator
Validator for strings.
TextValidator
Validator for "plain" text.
UrlValidator
Validator for url.

        
On this page

Search results