19 declare(strict_types=1);
37 protected \ILIAS\Language\Language
$lng;
74 final public function check($value)
86 final public function accepts($value): bool
88 return call_user_func($this->is_ok, $value);
108 if ($result->isError()) {
113 if ($problem !== null) {
114 $error = $this->data_factory->error($problem);
__construct(callable $is_ok, $error, Data\Factory $data_factory, \ILIAS\Language\Language $lng)
If $error is a callable it needs to take two parameters:
trait DeriveInvokeFromTransform
trait DeriveTransformFromApplyTo
Interface Observer Contains several chained tasks and infos about them.
Data Factory $data_factory
ILIAS Language Language $lng
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...