PasswordMD5Hash.php (317B)
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 PasswordMD5Hash extends Constraint 12 { 13 public $message = 'The password must be an MD5 hash of exactly 32 characters in length'; 14 }