Definition at line 27 of file Sequential.php.
◆ __construct()
ILIAS\Refinery\Logical\Sequential::__construct |
( |
array |
$constraints, |
|
|
Data\Factory |
$data_factory, |
|
|
\ILIAS\Language\Language |
$lng |
|
) |
| |
- Parameters
-
| Constraint[] | $constraints |
Data\Factory | $data_factory | |
\ILIAS\Language\Language | $lng | |
Definition at line 42 of file Sequential.php.
References $lng, $txt, and ILIAS\GlobalScreen\Provider\__construct().
45 function ($value) use ($constraints):
bool {
46 foreach ($constraints as $constraint) {
47 if (!$constraint->accepts($value)) {
48 $this->failed_constraint = $constraint;
55 function (
$txt, $value):
string {
56 return $this->failed_constraint->getErrorMessage($value);
__construct(Container $dic, ilPlugin $plugin)
◆ $failed_constraint
Constraint ILIAS\Refinery\Logical\Sequential::$failed_constraint |
|
private |
The documentation for this class was generated from the following file: