vendor/meteo-concept/hcaptcha-bundle/Validator/Constraints/IsValidCaptcha.php line 13

Open in your IDE?
  1. <?php
  2. namespace MeteoConcept\HCaptchaBundle\Validator\Constraints;
  3. use Symfony\Component\Validator\Constraint;
  4. /**
  5.  * Screams when the user has failed to solve the CAPTCHA
  6.  * @Annotation
  7.  * @Target({"PROPERTY", "METHOD", "ANNOTATION"})
  8.  */
  9. #[\Attribute(\Attribute::TARGET_PROPERTY \Attribute::TARGET_METHOD \Attribute::IS_REPEATABLE)]
  10. class IsValidCaptcha extends Constraint
  11. {
  12.     /**
  13.      * @var string The error message displayed on failing to
  14.      * solve the CAPTCHA
  15.      */
  16.     public $message 'The CAPTCHA is invalid.';
  17. }