protected function registerDefinedRoutes(Router $router)
    {
        $router->group(
            [
                'prefix' => \Flare::config('admin_url'),
                'as' => 'flare::',
                'middleware' => ['flare'],
            ],
            function ($router) {
                \Flare::admin()->registerRoutes($router);
                $router->get('/', $this->adminController('getDashboard'))->name('dashboard');
            }
        );
    }
protected function registerDefinedRoutes(Router $router)
    {
        $router->group(
            [
                'prefix' => \Flare::config('admin_url'),
                'as' => 'flare::',
                'middleware' => ['flare'],
            ],
            function ($router) {
                \Flare::admin()->registerRoutes($router);
                $router->get('/', $this->adminController('getDashboard'))->name('dashboard');
            }
        );
    }
protected function registerDefinedRoutes ( Router $ router ) { $ router -> group ( [ 'prefix' => \ Flare :: config ( 'admin_url' ) , 'as' => 'flare::' , 'middleware' => [ 'flare' ] , ] , function ( $ router ) { \ Flare :: admin ( ) -> registerRoutes ( $ router ) ; $ router -> get ( '/' , $ this -> adminController ( 'getDashboard' ) ) -> name ( 'dashboard' ) ; } ) ; }
Register the Defined Routes.

This registers all the routes which have been defined by
Admin sections defined in the Application's Flare Config
(or in the runtime config if anotehr service provider
has already started manipulating these dynamically).

@param Router $router
Register the Defined Routes .