Skip to content
This repository was archived by the owner on Oct 23, 2019. It is now read-only.

Commit 18a6a18

Browse files
committed
update version and change structure
1 parent 6440b03 commit 18a6a18

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Console/MakeListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php namespace Orchid\Socket\Console;
22

3-
use Illuminate\Console\GeneratorCommand;
43
use Illuminate\Console\GeneratorCommand;
54
use Symfony\Component\Console\Input\InputOption;
65

Console/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

Providers/SocketServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)