public static function get()
    {
        $middleware = config('media-manager.routes.middleware');
        if (!empty($middleware)) {
            Route::group(['middleware' => $middleware], function () {
                self::loadRoutes();
            });

            return;
        }

        self::loadRoutes();
    }
public static function get()
    {
        $middleware = config('media-manager.routes.middleware');
        if (!empty($middleware)) {
            Route::group(['middleware' => $middleware], function () {
                self::loadRoutes();
            });

            return;
        }

        self::loadRoutes();
    }
public static function get ( ) { $ middleware = config ( 'media-manager.routes.middleware' ) ; if ( ! empty ( $ middleware ) ) { Route :: group ( [ 'middleware' => $ middleware ] , function ( ) { self :: loadRoutes ( ) ; } ) ; return ; } self :: loadRoutes ( ) ; }
Returns the routes for the media manager,
wraps the routes with a route prefix or configured middleware where defined...

@return void
Returns the routes for the media manager wraps the routes with a route prefix or configured middleware where defined ...