ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
Branch.php
Go to the documentation of this file.
1 <?php
2 
18 declare(strict_types=1);
19 
21 
22 use ILIAS\UI\Component as C;
23 
27 class Branch extends Node implements C\Input\Field\Node\Branch
28 {
32  public function __construct(
33  int|string $id,
34  string $name,
35  ?C\Symbol\Icon\Icon $icon,
36  protected array $children,
37  ) {
38  parent::__construct($id, $name, $icon);
39  }
40 
45  public function getChildren(): array
46  {
47  return $this->children;
48  }
49 }
This describes a symbol.
Definition: Symbol.php:29
getChildren()
Returns all sub-nodes of the current node.
Definition: Branch.php:45
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
__construct(Container $dic, ilPlugin $plugin)
__construct(int|string $id, string $name, ?C\Symbol\Icon\Icon $icon, protected array $children,)
Definition: Branch.php:32