Created
March 16, 2016 08:54
-
-
Save OskarStark/8fbf654fcb29c4866ccf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @var string | |
* | |
* @ORM\Column(name="email", type="string", length=255) | |
* | |
* @Assert\Email(groups={"registration"}, message="Ungültige Email-Adresse.") | |
* @Assert\NotBlank(groups={"registration"}, message="Email-Adresse darf nicht leer sein.") | |
*/ | |
private $email; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment