code: public function create(): ItemInterface
      {
          $tree = $this->factory->createItem('root');
  
          $this->eventDispatcher->dispatch(ContaoCoreEvents::BACKEND_MENU_BUILD, new MenuEvent($this->factory, $tree));
  
          return $tree;
      }
docs: Creates a new root node and dispatches an event to fill it with child nodes.