ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
Branch.php
Go to the documentation of this file.
1<?php
2
18declare(strict_types=1);
19
21
23
27class Branch extends Node implements C\Input\Field\Node\Branch
28{
33 public function __construct(
34 array $full_node_path,
35 string $name,
36 ?C\Symbol\Icon\Icon $icon,
37 protected array $children,
38 ) {
39 parent::__construct($full_node_path, $name, $icon);
40 }
41
46 public function getChildren(): array
47 {
48 return $this->children;
49 }
50}
getChildren()
Returns all sub-nodes of the current node.
Definition: Branch.php:46
__construct(array $full_node_path, string $name, ?C\Symbol\Icon\Icon $icon, protected array $children,)
@inheritDoc
Definition: Branch.php:33
This describes a symbol.
Definition: Symbol.php:30
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc