src/Validator/Recaptcha.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Validator;
  3. use Symfony\Component\Validator\Constraint;
  4. /**
  5.  * @Annotation
  6.  */
  7. class Recaptcha extends Constraint
  8. {
  9.     /*
  10.      * Any public properties become valid options for the annotation.
  11.      * Then, use these in your validator class.
  12.      */
  13.     public $message 'La vérification visuelle a échouée. Veuillez réessayer.';
  14.     public $request;
  15.     public function __construct($options null)
  16.     {
  17.         parent::__construct($options);
  18.     }
  19. }