Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

namespace Symfony\Component\Validator\Constraints

Object name File name Summary
AbstractComparison vendor/symfony/validator/Constraints/AbstractComparison.php Used for the comparison of values.
AbstractComparisonValidator vendor/symfony/validator/Constraints/AbstractComparisonValidator.php Provides a base class for the validation of property comparisons.
All vendor/symfony/validator/Constraints/All.php When applied to an array (or Traversable object), this constraint allows you to apply
a collection of constraints to each element of the array.
AllValidator vendor/symfony/validator/Constraints/AllValidator.php @author Bernhard Schussek <bschussek@gmail.com>
AtLeastOneOf vendor/symfony/validator/Constraints/AtLeastOneOf.php Checks that at least one of the given constraint is satisfied.
AtLeastOneOfValidator vendor/symfony/validator/Constraints/AtLeastOneOfValidator.php @author Przemysław Bogusz <przemyslaw.bogusz@tubotax.pl>
Bic vendor/symfony/validator/Constraints/Bic.php Ensures that the value is valid against the BIC format.
BicValidator vendor/symfony/validator/Constraints/BicValidator.php @author Michael Hirschler <michael.vhirsch@gmail.com>
Blank vendor/symfony/validator/Constraints/Blank.php Validates that a value is blank, i.e. an empty string or null.
BlankValidator vendor/symfony/validator/Constraints/BlankValidator.php @author Bernhard Schussek <bschussek@gmail.com>
Callback vendor/symfony/validator/Constraints/Callback.php Defines custom validation rules through arbitrary callback methods.
CallbackValidator vendor/symfony/validator/Constraints/CallbackValidator.php Validator for Callback constraint.
CardScheme vendor/symfony/validator/Constraints/CardScheme.php Validates a credit card number for a given credit card company.
CardSchemeValidator vendor/symfony/validator/Constraints/CardSchemeValidator.php Validates that a card number belongs to a specified scheme.
Cascade vendor/symfony/validator/Constraints/Cascade.php Validates a whole class, including nested objects in properties.
Charset vendor/symfony/validator/Constraints/Charset.php @author Alexandre Daubois <alex.daubois@gmail.com>
CharsetValidator vendor/symfony/validator/Constraints/CharsetValidator.php @author Alexandre Daubois <alex.daubois@gmail.com>
Choice vendor/symfony/validator/Constraints/Choice.php Validates that a value is one of a given set of valid choices.
ChoiceValidator vendor/symfony/validator/Constraints/ChoiceValidator.php ChoiceValidator validates that the value is one of the expected values.
Cidr vendor/symfony/validator/Constraints/Cidr.php Validates that a value is a valid CIDR notation.
CidrValidator vendor/symfony/validator/Constraints/CidrValidator.php Validates whether a value is a CIDR notation.
Collection vendor/symfony/validator/Constraints/Collection.php Validates a collection with constraints defined for specific keys.
CollectionValidator vendor/symfony/validator/Constraints/CollectionValidator.php @author Bernhard Schussek <bschussek@gmail.com>
Composite vendor/symfony/validator/Constraints/Composite.php A constraint that is composed of other constraints.
Compound vendor/symfony/validator/Constraints/Compound.php Extend this class to create a reusable set of constraints.
CompoundValidator vendor/symfony/validator/Constraints/CompoundValidator.php @author Maxime Steinhausser <maxime.steinhausser@gmail.com>
Count vendor/symfony/validator/Constraints/Count.php Validates a collection's element count.
Country vendor/symfony/validator/Constraints/Country.php Validates a value is a valid ISO 3166-1 alpha-2 country code.
CountryValidator vendor/symfony/validator/Constraints/CountryValidator.php Validates whether a value is a valid country code.
CountValidator vendor/symfony/validator/Constraints/CountValidator.php @author Bernhard Schussek <bschussek@gmail.com>
CssColor vendor/symfony/validator/Constraints/CssColor.php Validates that a value is a valid CSS color.
CssColorValidator vendor/symfony/validator/Constraints/CssColorValidator.php @author Mathieu Santostefano <msantostefano@protonmail.com>
Currency vendor/symfony/validator/Constraints/Currency.php Validates that a value is a valid 3-letter ISO 4217 currency name.
CurrencyValidator vendor/symfony/validator/Constraints/CurrencyValidator.php Validates whether a value is a valid currency.
Date vendor/symfony/validator/Constraints/Date.php Validates that a value is a valid date, i.e. its string representation follows the Y-m-d format.
DateTime vendor/symfony/validator/Constraints/DateTime.php Validates that a value is a valid "datetime" according to a given format.
DateTimeValidator vendor/symfony/validator/Constraints/DateTimeValidator.php @author Bernhard Schussek <bschussek@gmail.com>
@author Diego Saint Esteben <diego@saintesteben.me>
DateValidator vendor/symfony/validator/Constraints/DateValidator.php @author Bernhard Schussek <bschussek@gmail.com>
DisableAutoMapping vendor/symfony/validator/Constraints/DisableAutoMapping.php Disables auto mapping.
DivisibleBy vendor/symfony/validator/Constraints/DivisibleBy.php Validates that a value is divisible by another value.
DivisibleByValidator vendor/symfony/validator/Constraints/DivisibleByValidator.php Validates that values are a multiple of the given number.
Email vendor/symfony/validator/Constraints/Email.php Validates that a value is a valid email address.
EmailValidator vendor/symfony/validator/Constraints/EmailValidator.php @author Bernhard Schussek <bschussek@gmail.com>
EnableAutoMapping vendor/symfony/validator/Constraints/EnableAutoMapping.php Enables auto mapping.
EqualTo vendor/symfony/validator/Constraints/EqualTo.php Validates that a value is equal to another value.
EqualToValidator vendor/symfony/validator/Constraints/EqualToValidator.php Validates values are equal (==).
Existence vendor/symfony/validator/Constraints/Existence.php @author Bernhard Schussek <bschussek@gmail.com>
Expression vendor/symfony/validator/Constraints/Expression.php Validates a value using an expression from the Expression Language component.
ExpressionLanguageProvider vendor/symfony/validator/Constraints/ExpressionLanguageProvider.php
ExpressionSyntax vendor/symfony/validator/Constraints/ExpressionSyntax.php Validates that a value is valid as an ExpressionLanguage expression.

Pagination

  • Page 1
  • Page 2
  • Page 3
  • Next page
  • Last page

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal