Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AppBundle\Entity\User:
- constraints:
- - Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity: email
- properties:
- firstname:
- - NotBlank: ~
- - Type: string
- lastname:
- - NotBlank: ~
- - Type: string
- email:
- - NotBlank: ~
- - Email: ~
- plainPassword:
- - NotBlank: { groups: [New, FullUpdate] }
- - Type: string
- - Length:
- min: 6
- max: 50
- phone:
- - Type: string
- - Length:
- min: 10
- max: 10
- birthday:
- - type: datetime
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement