19declare(strict_types=1);
31 static function (
Data\
Password $value) use ($min_length):
bool {
32 return strlen($value->toString()) >= $min_length;
34 static function ($value) use ($min_length):
string {
35 return "Password has a length less than '$min_length'.";
A password is used as part of credentials for authentication.
__construct(int $min_length, Data\Factory $data_factory, \ILIAS\Language\Language $lng)
A constraint encodes some resrtictions on values.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.