src/AclServiceProvider.php
protected function bootMenu()
    {
        $view = $this->app->make('view');
        $view->composer('antares/acl::acl.*', function () {
            return ModulesPane::getInstance()->make();
        });
        $this->attachMenu([GroupsBreadcrumbMenu::class, UsersBreadcrumbMenu::class]);
        $view->composer('antares/foundation::settings.*', ControlPane::class);
        $view->composer('antares/acl::*', StaffPane::class);
    }
protected function bootMenu()
    {
        $view = $this->app->make('view');
        $view->composer('antares/acl::acl.*', function () {
            return ModulesPane::getInstance()->make();
        });
        $this->attachMenu([GroupsBreadcrumbMenu::class, UsersBreadcrumbMenu::class]);
        $view->composer('antares/foundation::settings.*', ControlPane::class);
        $view->composer('antares/acl::*', StaffPane::class);
    }
booting menu