This repository was archived by the owner on Oct 23, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11<?php namespace Orchid \Socket \Console ;
22
3- use Illuminate \Console \GeneratorCommand ;
43use Illuminate \Console \GeneratorCommand ;
54use Symfony \Component \Console \Input \InputOption ;
65
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public function __construct()
6060 public function fire ()
6161 {
6262 $ socket = new Socket ($ this ->httpHost , $ this ->port , $ this ->address );
63- require_once app_path () . '/Socket/routes.php ' ;
63+ require_once app_path () . '/Http/ Socket/routes.php ' ;
6464 $ this ->info ('Laravel web socket server started on ' . $ this ->httpHost . ': ' . $ this ->port . '/ ' . 'address: ' . $ this ->address );
6565 $ socket ->run ();
6666 }
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ protected function registerConfig()
3333 {
3434 $ this ->publishes ([
3535 __DIR__ . '/../Config/socket.php ' => config_path ('socket.php ' ),
36- __DIR__ . '/../Services/Socket/ routes.php ' => app_path ('/Http/Socket/routes.php ' ),
36+ __DIR__ . '/../routes.php ' => app_path ('/Http/Socket/routes.php ' ),
3737 ]);
3838 $ this ->mergeConfigFrom (
3939 __DIR__ . '/../Config/socket.php ' , 'socket '
@@ -43,7 +43,7 @@ protected function registerConfig()
4343
4444 public function registerProviders ()
4545 {
46- // $this->app->register('Orchid\\Socket\\Providers\\ConsoleServiceProvider');
46+ $ this ->app ->register ('Orchid \\Socket \\Providers \\ConsoleServiceProvider ' );
4747 }
4848
4949 /**
You can’t perform that action at this time.
0 commit comments