public static function routes($callback)
    {
        $attributes = array_merge(
            [
                'prefix'     => config('admin.route.prefix'),
                'middleware' => config('admin.route.middleware'),
            ],
            static::config('route', [])
        );

        Route::group($attributes, $callback);
    }
public static function routes($callback)
    {
        $attributes = array_merge(
            [
                'prefix'     => config('admin.route.prefix'),
                'middleware' => config('admin.route.middleware'),
            ],
            static::config('route', [])
        );

        Route::group($attributes, $callback);
    }
public static function routes ( $ callback ) { $ attributes = array_merge ( [ 'prefix' => config ( 'admin.route.prefix' ) , 'middleware' => config ( 'admin.route.middleware' ) , ] , static :: config ( 'route' , [ ] ) ) ; Route :: group ( $ attributes , $ callback ) ; }
Set routes for this extension.

@param $callback
Set routes for this extension .