protected function registerRoutes()
    {
        Route::group([
            'domain' => config('horizon.domain', null),
            'prefix' => config('horizon.path'),
            'namespace' => 'Laravel\Horizon\Http\Controllers',
            'middleware' => config('horizon.middleware', 'web'),
        ], function () {
            $this->loadRoutesFrom(__DIR__.'/../routes/web.php');
        });
    }
protected function registerRoutes()
    {
        Route::group([
            'domain' => config('horizon.domain', null),
            'prefix' => config('horizon.path'),
            'namespace' => 'Laravel\Horizon\Http\Controllers',
            'middleware' => config('horizon.middleware', 'web'),
        ], function () {
            $this->loadRoutesFrom(__DIR__.'/../routes/web.php');
        });
    }
protected function registerRoutes ( ) { Route :: group ( [ 'domain' => config ( 'horizon.domain' , null ) , 'prefix' => config ( 'horizon.path' ) , 'namespace' => 'Laravel\Horizon\Http\Controllers' , 'middleware' => config ( 'horizon.middleware' , 'web' ) , ] , function ( ) { $ this -> loadRoutesFrom ( __DIR__ . '/../routes/web.php' ) ; } ) ; }
Register the Horizon routes.

@return void
Register the Horizon routes .