vendor/beelab/recaptcha2-bundle/src/Validator/Constraints/Recaptcha2.php line 10

Open in your IDE?
  1. <?php
  2. namespace Beelab\Recaptcha2Bundle\Validator\Constraints;
  3. use Symfony\Component\Validator\Constraint;
  4. /**
  5.  * @Annotation
  6.  */
  7. final class Recaptcha2 extends Constraint
  8. {
  9.     /** @var string */
  10.     public $message 'Invalid ReCaptcha.';
  11.     public function validatedBy(): string
  12.     {
  13.         return 'recaptcha2';
  14.     }
  15. }