vendor/captcha-com/symfony-captcha-bundle/Validator/Constraints/ValidCaptcha.php line 10

Open in your IDE?
  1. <?php
  2. namespace Captcha\Bundle\CaptchaBundle\Validator\Constraints;
  3. use Symfony\Component\Validator\Constraint;
  4. /**
  5.  * @Annotation
  6.  */
  7. class ValidCaptcha extends Constraint
  8. {
  9.     /*
  10.      * @var string
  11.      */
  12.     public $message 'CAPTCHA validation failed, please try again.';
  13.     /**
  14.      * {@inheritdoc}
  15.      */
  16.     public function validatedBy()
  17.     {
  18.         return 'valid_captcha';
  19.     }
  20. }