Symfony\Component\Validator\ConstraintValidatorFactoryInterface::getInstance
Given a Constraint, this returns the ConstraintValidatorInterface object that should be used to verify its validity.
Signature
public function getInstance(Constraint
$constraint )
Parameters
$constraint
— Symfony\Component\Validator\Constraint- The source constraint
Returns
- ConstraintValidatorInterface