vendor/victor-prdh/recaptcha-bundle/src/Validator/Constraints/IsValidCaptcha.php line 16

Open in your IDE?
  1. <?php
  2. namespace VictorPrdh\RecaptchaBundle\Validator\Constraints;
  3. use Symfony\Component\Validator\Constraint;
  4. use Symfony\Component\Validator\ConstraintValidator;
  5. use Symfony\Component\Validator\Exception\UnexpectedTypeException;
  6. use Symfony\Component\Validator\Exception\UnexpectedValueException;
  7. /**
  8.  * @Annotation
  9.  * @Target({"PROPERTY", "METHOD", "ANNOTATION"})
  10.  */
  11. #[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
  12. class IsValidCaptcha extends Constraint
  13. {
  14.     public $message 'This value is not a valid captcha.';
  15. }