19 declare(strict_types=1);
33 private readonly array $self_registrations
39 return array_merge(...$this->
callAll(__FUNCTION__));
45 return array_reduce($this->
callAll(__FUNCTION__, $form), $and,
true);
50 $this->
callAll(__FUNCTION__, $user);
53 private function callAll(
string $call_what, ...$args): array
55 return array_map(fn($reg) => $reg->$call_what(...$args), $this->self_registrations);
__construct(private readonly array $self_registrations)
saveLegacyForm(ilPropertyFormGUI $form)
callAll(string $call_what,... $args)
userCreation(ilObjUser $user)
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples