Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # config/validator/validation.yaml
- App\Entity\User:
- properties:
- email:
- - Email: { groups: [registration] }
- password:
- - NotBlank: { groups: [registration] }
- - Length: { min: 7, groups: [registration] }
- city:
- - Length:
- min: 2
Add Comment
Please, Sign In to add comment