19 declare(strict_types=1);
35 use CheckClosureTrait;
57 $this->checkClosureForSignature($component_decorator, Component::class);
59 if ($this->component_decorator instanceof
Closure) {
61 $this->component_decorator =
static function (
Component $c) use (
65 $component = $existing(
$c);
83 $this->checkClosureForSignature($symbol_decorator, Symbol::class);
85 if ($this->symbol_decorator instanceof
Closure) {
87 $this->symbol_decorator =
static function (
Symbol $c) use ($symbol_decorator, $existing):
Symbol {
88 $component = $existing(
$c);
Closure $component_decorator
This is just a class that marks a string as a help topic.
Closure $triggerer_decorator
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
addSymbolDecorator(Closure $symbol_decorator)
Closure $symbol_decorator
withTopics(Topic ... $topics)
addComponentDecorator(Closure $component_decorator)