ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
Component.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\UI\Component;
22 
27 interface Component
28 {
32  public function getCanonicalName(): string;
33 
39  public function reduceWith(\Closure $fn): mixed;
40 
41 }
reduceWith(\Closure $fn)
The scheme starts at the leaves of the structure and applies the function to each leave and moves up ...
getCanonicalName()
Get the canonical name of the component.