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