Definition at line 26 of file Parallel.php.
◆ __construct()
ILIAS\Refinery\Logical\Parallel::__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 41 of file Parallel.php.
References $lng, $messages, $txt, and ILIAS\GlobalScreen\Provider\__construct().
44 function ($value) use ($constraints):
bool {
46 $this->failed_constraints = [];
47 foreach ($constraints as $constraint) {
48 if (!$constraint->accepts($value)) {
49 $this->failed_constraints[] = $constraint;
56 function (
$txt, $value):
string {
58 foreach ($this->failed_constraints as $constraint) {
59 $messages[] = $constraint->getErrorMessage($value);
__construct(Container $dic, ilPlugin $plugin)
◆ $failed_constraints
array ILIAS\Refinery\Logical\Parallel::$failed_constraints |
|
protected |
The documentation for this class was generated from the following file: