<?phpnamespace App\Validator;use Symfony\Component\Validator\Constraint;/** * @Annotation * * @Target({"PROPERTY", "METHOD", "ANNOTATION"}) */#[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]class LostPwd extends Constraint{ public $messageInvalidEmail = "invalid_credentials"; public $messageInactiveAccess = "invalid_credentials";}