original_string: protected function createAdminMenu(): void
      {
          $menu = $this->menu();
          $events = $this->app->make('events');
  
          $handlers = [
              UserMenuHandler::class,
              ExtensionMenuHandler::class,
              SettingMenuHandler::class,
          ];
  
          $menu->add('home')
              ->title(\trans('orchestra/foundation::title.home'))
              ->link($this->handles('orchestra::/'))
              ->icon('home');
  
          foreach ($handlers as $handler) {
              $events->listen('orchestra.started: admin', $handler);
          }
      }
code: protected function createAdminMenu(): void
      {
          $menu = $this->menu();
          $events = $this->app->make('events');
  
          $handlers = [
              UserMenuHandler::class,
              ExtensionMenuHandler::class,
              SettingMenuHandler::class,
          ];
  
          $menu->add('home')
              ->title(\trans('orchestra/foundation::title.home'))
              ->link($this->handles('orchestra::/'))
              ->icon('home');
  
          foreach ($handlers as $handler) {
              $events->listen('orchestra.started: admin', $handler);
          }
      }
code_tokens: protected function createAdminMenu ( ) : void { $ menu = $ this -> menu ( ) ; $ events = $ this -> app -> make ( 'events' ) ; $ handlers = [ UserMenuHandler :: class , ExtensionMenuHandler :: class , SettingMenuHandler :: class , ] ; $ menu -> add ( 'home' ) -> title ( \ trans ( 'orchestra/foundation::title.home' ) ) -> link ( $ this -> handles ( 'orchestra::/' ) ) -> icon ( 'home' ) ; foreach ( $ handlers as $ handler ) { $ events -> listen ( 'orchestra.started: admin' , $ handler ) ; } }
docstring: Create Administration Menu for Orchestra Platform.
  
  @return void
docstring_tokens: Create Administration Menu for Orchestra Platform .