ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
isDecorateable.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\GlobalScreen\Scope;
22 
23 use Closure;
26 
30 interface isDecorateable
31 {
32  public function withTopics(Topic ...$topics): self;
33 
34  public function getTopics(): array;
35 
40  public function addComponentDecorator(Closure $component_decorator): self;
41 
42  public function getComponentDecorator(): ?Closure;
43 }
This is just a class that marks a string as a help topic.
Definition: Topic.php:26
addComponentDecorator(Closure $component_decorator)
Add a Closure to decorate the Component using withAdditionalOnloadCode