commands([ Console\StartWebSocketServer::class, ]); } /** * Register the application services. */ public function register() { $this->app->singleton('websockets.router', function() { return new Router(); }); } }