<?php | |
// ... | |
class User implements UserInterface | |
{ | |
/** | |
* ... | |
* @Assert\NotBlank() | |
* @Assert\Length(max="255") | |
*/ | |
public $name; | |
/** | |
* ... | |
* @Assert\NotBlank() | |
* @Assert\Length(max="255") | |
*/ | |
public $email; | |
/** | |
* ... | |
* @Assert\NotBlank() | |
* @Assert\Length(max="255") | |
*/ | |
public $plainPassword; | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment