nineskeletor/src/Validator/Password.php

14 lines
283 B
PHP
Raw Permalink Normal View History

2022-07-21 16:15:47 +02:00
<?php
2022-07-21 16:15:47 +02:00
namespace App\Validator;
use Symfony\Component\Validator\Constraint;
/**
* @Annotation
*/
class Password extends Constraint
{
public $message = 'Votre mot de passe doit contenir au minimum 8 caractères, constitué de chiffres, de lettres et caractères spéciaux';
}