partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

Username.php (424B)


      1 <?php
      2 
      3 namespace PartKeepr\AuthBundle\Validator\Constraints;
      4 
      5 use Symfony\Component\Validator\Constraint;
      6 
      7 /**
      8  * @Annotation
      9  * @Target({"PROPERTY", "METHOD", "ANNOTATION"})
     10  */
     11 class Username extends Constraint
     12 {
     13     public $message = "The username must be 3-50 characters in length and may only contain the following characters: a-z, A-Z, 0-9, an underscore (_), a backslash (\), a slash (/), a dot (.) or a dash (-)";
     14 }