3 declare(strict_types=1);
32 static function ($value) use ($constraint) {
33 return !$constraint->
accepts($value);
35 static function (
$txt, $value) use ($constraint):
string {
36 return (
string)
$txt(
"not_generic", $constraint->getErrorMessage($value));
A constraint encodes some resrtictions on values.
__construct(Constraint $constraint, Data\Factory $data_factory, ilLanguage $lng)
accepts($value)
Tells if the provided value complies.
__construct(Container $dic, ilPlugin $plugin)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...