Symfony\Component\Validator\Constraints

Namespaces

Classes

AbstractComparison Used for the comparison of values.
AbstractComparisonValidator Provides a base class for the validation of property comparisons.
All
AllValidator
Blank
BlankValidator
Callback
CallbackValidator Validator for Callback constraint
CardScheme Metadata for the CardSchemeValidator.
CardSchemeValidator Validates that a card number belongs to a specified scheme.
Choice
ChoiceValidator ChoiceValidator validates that the value is one of the expected values.
Collection
CollectionValidator
Count
CountValidator
Country
CountryValidator Validates whether a value is a valid country code
Currency
CurrencyValidator Validates whether a value is a valid currency
Date
DateTime
DateTimeValidator
DateValidator
Email
EmailValidator
EqualTo
EqualToValidator Validates values are equal (==).
Existence
False
FalseValidator
File
FileValidator
GreaterThan
GreaterThanOrEqual
GreaterThanOrEqualValidator Validates values are greater than or equal to the previous (>=).
GreaterThanValidator Validates values are greater than the previous (>).
GroupSequence Annotation for group sequences
GroupSequenceProvider Annotation to define a group sequence provider
Iban
IbanValidator
IdenticalTo
IdenticalToValidator Validates values are identical (===).
Image
ImageValidator Validates whether a value is a valid image file and is valid against minWidth, maxWidth, minHeight and maxHeight constraints
Ip Validates that a value is a valid IP address
IpValidator Validates whether a value is a valid IP address
Isbn
IsbnValidator Validates whether the value is a valid ISBN-10 or ISBN-13.
Issn
IssnValidator Validates whether the value is a valid ISSN.
Language
LanguageValidator Validates whether a value is a valid language code
Length
LengthValidator
LessThan
LessThanOrEqual
LessThanOrEqualValidator Validates values are less than or equal to the previous (<=).
LessThanValidator Validates values are less than the previous (<).
Locale
LocaleValidator Validates whether a value is a valid locale code
Luhn Metadata for the LuhnValidator.
LuhnValidator Validates a PAN using the LUHN Algorithm
NotBlank
NotBlankValidator
NotEqualTo
NotEqualToValidator Validates values are all unequal (!=).
NotIdenticalTo
NotIdenticalToValidator Validates values aren't identical (!==).
NotNull
NotNullValidator
Null
NullValidator
Optional
Range
RangeValidator
Regex
RegexValidator Validates whether a value match or not given regexp pattern
Required
Time
TimeValidator
True
TrueValidator
Type
TypeValidator
Url
UrlValidator
Valid

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Validator/Constraints.html