3 declare(strict_types=1);
34 static function (Data\
Password $value):
bool {
35 return (
bool) preg_match(self::ALLOWED_CHARS, $value->toString());
37 static function ($value):
string {
38 return "Password must contain special chars.";
A constraint encodes some resrtictions on values.
A password is used as part of credentials for authentication.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
__construct(Data\Factory $data_factory, ilLanguage $lng)