diff --git a/packages/framework/src/Framework/Features/Navigation/NavigationManager.php b/packages/framework/src/Framework/Features/Navigation/NavigationManager.php deleted file mode 100644 index 9313fb65bd0..00000000000 --- a/packages/framework/src/Framework/Features/Navigation/NavigationManager.php +++ /dev/null @@ -1,43 +0,0 @@ - - */ - protected array $menus = []; - - /** - * Register a new menu for the project. - */ - public function registerMenu(string $name, NavigationMenu $menu): void - { - $this->menus[$name] = $menu; - } - - /** - * Get a menu by its name. - */ - public function getMenu(string $name): NavigationMenu - { - if (! Hyde::isBooted()) { - // Todo: This could be an anti-pattern so we may consider throwing an exception instead. - Hyde::boot(); - } - - return $this->menus[$name]; - } -}