19 declare(strict_types=1);
41 private array $transformations,
47 $this->transformations = $transformations;
48 $this->data_factory = $data_factory;
49 $this->error =
static function ():
void {
51 'no valid constraints',
52 'no_valid_constraints' 70 foreach ($this->transformations as $transformation) {
71 $result = $this->data_factory->ok($from);
72 $result = $transformation->applyTo($result);
73 if ($result->isOK()) {
74 return $result->value();
trait DeriveInvokeFromTransform
trait DeriveApplyToFromTransform
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
__construct(private array $transformations, private Data\Factory $data_factory, protected ?Language\Language $lng=null)