19declare(strict_types=1);
33 use CheckClosureTrait;
57 if ($this->component_decorator instanceof Closure) {
59 $this->component_decorator =
static function (
Component $c) use (
63 $component = $existing(
$c);
83 if ($this->symbol_decorator instanceof Closure) {
86 $component = $existing(
$c);
This is just a class that marks a string as a help topic.
A component is the most general form of an entity in the UI.
withTopics(Topic ... $topics)
Closure $symbol_decorator
trait ComponentDecoratorTrait
Closure $triggerer_decorator
addComponentDecorator(Closure $component_decorator)
addSymbolDecorator(Closure $symbol_decorator)
Closure $component_decorator