| Total Complexity | 4 | 
| Total Lines | 28 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 13 | abstract class NavigationContainer implements AdvancedNavigationInterface  | 
            ||
| 14 | { | 
            ||
| 15 | /** @var \Everlution\Navigation\Nested\Container\NestableContainerInterface[] */  | 
            ||
| 16 | private $containers = [];  | 
            ||
| 17 | |||
| 18 | public function add(NestableContainerInterface $container): void  | 
            ||
| 19 |     { | 
            ||
| 20 | $this->containers[get_class($container)] = $container;  | 
            ||
| 21 | }  | 
            ||
| 22 | |||
| 23 | /**  | 
            ||
| 24 | * @return \Everlution\Navigation\ContainerInterface[]  | 
            ||
| 25 | */  | 
            ||
| 26 | public function getNavigationContainers(): array  | 
            ||
| 29 | }  | 
            ||
| 30 | |||
| 31 | public function get(string $name): NestableContainerInterface  | 
            ||
| 38 | }  | 
            ||
| 39 | |||
| 40 | abstract public function getRoot(): ContainerInterface;  | 
            ||
| 41 | }  | 
            ||
| 42 |