Definition at line 26 of file HasSpecialChars.php.
◆ __construct()
Definition at line 30 of file HasSpecialChars.php.
31 {
33 static function (Data\
Password $value):
bool {
34 return (bool) preg_match(self::ALLOWED_CHARS, $value->toString());
35 },
36 static function ($value): string {
37 return "Password must contain special chars.";
38 },
39 $data_factory,
41 );
42 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
References $lng, and ILIAS\GlobalScreen\Provider\__construct().
◆ ALLOWED_CHARS
const ILIAS\Refinery\Password\HasSpecialChars::ALLOWED_CHARS = '/[,_.\-#\+\*?!%§\(\)\$]/u' |
|
private |
The documentation for this class was generated from the following file: