19 declare(strict_types=1);
    32             static function (Data\
Password $value): 
bool {
    33                 return (
bool) preg_match(
'/[0-9]/', $value->toString());
    35             static function ($value): 
string {
    36                 return "Password must contain numbers.";
 
A constraint encodes some resrtictions on values. 
 
A password is used as part of credentials for authentication. 
 
__construct(Data\Factory $data_factory, ilLanguage $lng)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...