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);
        }
    }
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);
        }
    }
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 ) ; } }
Create Administration Menu for Orchestra Platform.

@return void
Create Administration Menu for Orchestra Platform .