Symfony\Component\Validator\Constraints
Classes
| AbstractComparison | Used for the comparison of values. |
| AbstractComparisonValidator | Provides a base class for the validation of property comparisons. |
| All | |
| AllValidator | |
| Bic | |
| BicValidator | |
| 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 | |
| Composite | A constraint that is composed of other constraints. |
| 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 | |
| EmailValidator | |
| EqualTo | |
| EqualToValidator | Validates values are equal (==). |
| Existence | |
| Expression | |
| ExpressionValidator | |
| File | |
| FileValidator | |
| GreaterThan | |
| GreaterThanOrEqual | |
| GreaterThanOrEqualValidator | Validates values are greater than or equal to the previous (>=). |
| GreaterThanValidator | Validates values are greater than the previous (>). |
| GroupSequence | A sequence of validation groups. |
| 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. |
| IsFalse | |
| IsFalseValidator | |
| IsNull | |
| IsNullValidator | |
| IsTrue | |
| IsTrueValidator | |
| 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 | |
| Optional | |
| Range | |
| RangeValidator | |
| Regex | |
| RegexValidator | Validates whether a value match or not given regexp pattern. |
| Required | |
| Time | |
| TimeValidator | |
| Traverse | |
| Type | |
| TypeValidator | |
| Url | |
| UrlValidator | |
| Uuid | |
| UuidValidator | Validates whether the value is a valid UUID (also known as GUID). |
| Valid | |
| ValidValidator |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Validator/Constraints.html