You are here

interface ConstraintValidatorFactoryInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/ConstraintValidatorFactoryInterface.php \Symfony\Component\Validator\ConstraintValidatorFactoryInterface

Specifies an object able to return the correct ConstraintValidatorInterface instance given a Constraint object.

Hierarchy

Expanded class hierarchy of ConstraintValidatorFactoryInterface

All classes that implement ConstraintValidatorFactoryInterface

4 files declare their use of ConstraintValidatorFactoryInterface
RecursiveContextualValidator.php in vendor/symfony/validator/Validator/RecursiveContextualValidator.php
RecursiveContextualValidator.php in core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php
Contains \Drupal\Core\TypedData\Validation\RecursiveContextualValidator.
RecursiveValidator.php in vendor/symfony/validator/Validator/RecursiveValidator.php
RecursiveValidator.php in core/lib/Drupal/Core/TypedData/Validation/RecursiveValidator.php
Contains \Drupal\Core\TypedData\Validation\RecursiveValidator.

File

vendor/symfony/validator/ConstraintValidatorFactoryInterface.php, line 18

Namespace

Symfony\Component\Validator
View source
interface ConstraintValidatorFactoryInterface {

  /**
   * Given a Constraint, this returns the ConstraintValidatorInterface
   * object that should be used to verify its validity.
   *
   * @param Constraint $constraint The source constraint
   *
   * @return ConstraintValidatorInterface
   */
  public function getInstance(Constraint $constraint);

}

Members

Namesort descending Modifiers Type Description Overrides
ConstraintValidatorFactoryInterface::getInstance public function Given a Constraint, this returns the ConstraintValidatorInterface object that should be used to verify its validity. 1