Constraints
Table of Contents
Classes
- AbstractComparison
- Used for the comparison of values.
- AbstractComparisonValidator
- Provides a base class for the validation of property comparisons.
- All
- A constraint that is composed of other constraints.
- AllValidator
- Base class for constraint validators.
- AtLeastOneOf
- A constraint that is composed of other constraints.
- AtLeastOneOfValidator
- Base class for constraint validators.
- Bic
- Contains the properties of a constraint definition.
- BicValidator
- Base class for constraint validators.
- Blank
- Contains the properties of a constraint definition.
- BlankValidator
- Base class for constraint validators.
- Callback
- Contains the properties of a constraint definition.
- CallbackValidator
- Validator for Callback constraint.
- CardScheme
- Metadata for the CardSchemeValidator.
- CardSchemeValidator
- Validates that a card number belongs to a specified scheme.
- Cascade
- Contains the properties of a constraint definition.
- Choice
- Contains the properties of a constraint definition.
- ChoiceValidator
- ChoiceValidator validates that the value is one of the expected values.
- Cidr
- Validates that a value is a valid CIDR notation.
- CidrValidator
- Base class for constraint validators.
- Collection
- A constraint that is composed of other constraints.
- CollectionValidator
- Base class for constraint validators.
- Composite
- A constraint that is composed of other constraints.
- Compound
- Extend this class to create a reusable set of constraints.
- CompoundValidator
- Base class for constraint validators.
- Count
- Contains the properties of a constraint definition.
- Country
- Contains the properties of a constraint definition.
- CountryValidator
- Validates whether a value is a valid country code.
- CountValidator
- Base class for constraint validators.
- CssColor
- Contains the properties of a constraint definition.
- CssColorValidator
- Base class for constraint validators.
- Currency
- Contains the properties of a constraint definition.
- CurrencyValidator
- Validates whether a value is a valid currency.
- Date
- Contains the properties of a constraint definition.
- DateTime
- Contains the properties of a constraint definition.
- DateTimeValidator
- Base class for constraint validators.
- DateValidator
- Base class for constraint validators.
- DisableAutoMapping
- Disables auto mapping.
- DivisibleBy
- Used for the comparison of values.
- DivisibleByValidator
- Validates that values are a multiple of the given number.
- Contains the properties of a constraint definition.
- EmailValidator
- Base class for constraint validators.
- EnableAutoMapping
- Enables auto mapping.
- EqualTo
- Used for the comparison of values.
- EqualToValidator
- Validates values are equal (==).
- Existence
- A constraint that is composed of other constraints.
- Expression
- Contains the properties of a constraint definition.
- ExpressionLanguageSyntax
- Contains the properties of a constraint definition.
- ExpressionLanguageSyntaxValidator
- Base class for constraint validators.
- ExpressionValidator
- Base class for constraint validators.
- File
- Contains the properties of a constraint definition.
- FileValidator
- Base class for constraint validators.
- GreaterThan
- Used for the comparison of values.
- GreaterThanOrEqual
- Used for the comparison of values.
- 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.
- Hostname
- Contains the properties of a constraint definition.
- HostnameValidator
- Base class for constraint validators.
- Iban
- Contains the properties of a constraint definition.
- IbanValidator
- Base class for constraint validators.
- IdenticalTo
- Used for the comparison of values.
- IdenticalToValidator
- Validates values are identical (===).
- Image
- Contains the properties of a constraint definition.
- 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
- Contains the properties of a constraint definition.
- IsbnValidator
- Validates whether the value is a valid ISBN-10 or ISBN-13.
- IsFalse
- Contains the properties of a constraint definition.
- IsFalseValidator
- Base class for constraint validators.
- Isin
- Contains the properties of a constraint definition.
- IsinValidator
- Base class for constraint validators.
- IsNull
- Contains the properties of a constraint definition.
- IsNullValidator
- Base class for constraint validators.
- Issn
- Contains the properties of a constraint definition.
- IssnValidator
- Validates whether the value is a valid ISSN.
- IsTrue
- Contains the properties of a constraint definition.
- IsTrueValidator
- Base class for constraint validators.
- Json
- Contains the properties of a constraint definition.
- JsonValidator
- Base class for constraint validators.
- Language
- Contains the properties of a constraint definition.
- LanguageValidator
- Validates whether a value is a valid language code.
- Length
- Contains the properties of a constraint definition.
- LengthValidator
- Base class for constraint validators.
- LessThan
- Used for the comparison of values.
- LessThanOrEqual
- Used for the comparison of values.
- LessThanOrEqualValidator
- Validates values are less than or equal to the previous (<=).
- LessThanValidator
- Validates values are less than the previous (<).
- Locale
- Contains the properties of a constraint definition.
- LocaleValidator
- Validates whether a value is a valid locale code.
- Luhn
- Metadata for the LuhnValidator.
- LuhnValidator
- Validates a PAN using the LUHN Algorithm.
- Negative
- Used for the comparison of values.
- NegativeOrZero
- Used for the comparison of values.
- NotBlank
- Contains the properties of a constraint definition.
- NotBlankValidator
- Base class for constraint validators.
- NotCompromisedPassword
- Checks if a password has been leaked in a data breach.
- NotCompromisedPasswordValidator
- Checks if a password has been leaked in a data breach using haveibeenpwned.com's API.
- NotEqualTo
- Used for the comparison of values.
- NotEqualToValidator
- Validates values are all unequal (!=).
- NotIdenticalTo
- Used for the comparison of values.
- NotIdenticalToValidator
- Validates values aren't identical (!==).
- NotNull
- Contains the properties of a constraint definition.
- NotNullValidator
- Base class for constraint validators.
- Optional
- A constraint that is composed of other constraints.
- Positive
- Used for the comparison of values.
- PositiveOrZero
- Used for the comparison of values.
- Range
- Contains the properties of a constraint definition.
- RangeValidator
- Base class for constraint validators.
- Regex
- Contains the properties of a constraint definition.
- RegexValidator
- Validates whether a value match or not given regexp pattern.
- Required
- A constraint that is composed of other constraints.
- Sequentially
- Use this constraint to sequentially validate nested constraints.
- SequentiallyValidator
- Base class for constraint validators.
- Time
- Contains the properties of a constraint definition.
- TimeValidator
- Base class for constraint validators.
- Timezone
- Contains the properties of a constraint definition.
- TimezoneValidator
- Validates whether a value is a valid timezone identifier.
- Traverse
- Contains the properties of a constraint definition.
- Type
- Contains the properties of a constraint definition.
- TypeValidator
- Base class for constraint validators.
- Ulid
- Contains the properties of a constraint definition.
- UlidValidator
- Validates whether the value is a valid ULID (Universally Unique Lexicographically Sortable Identifier).
- Unique
- Contains the properties of a constraint definition.
- UniqueValidator
- Base class for constraint validators.
- Url
- Contains the properties of a constraint definition.
- UrlValidator
- Base class for constraint validators.
- Uuid
- Contains the properties of a constraint definition.
- UuidValidator
- Validates whether the value is a valid UUID (also known as GUID).
- Valid
- Contains the properties of a constraint definition.
- ValidValidator
- Base class for constraint validators.