改名
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
namespace Console;
|
namespace Console;
|
||||||
|
|
||||||
|
|
||||||
use Snowflake\Abstracts\BaseApplication;
|
use Snowflake\Abstracts\Component;
|
||||||
use Swoole\Coroutine\Channel;
|
use Swoole\Coroutine\Channel;
|
||||||
use Swoole\Runtime;
|
use Swoole\Runtime;
|
||||||
use Swoole\Timer;
|
use Swoole\Timer;
|
||||||
@@ -19,7 +19,7 @@ use Snowflake\Snowflake;
|
|||||||
* Class Application
|
* Class Application
|
||||||
* @package Console
|
* @package Console
|
||||||
*/
|
*/
|
||||||
class Application extends BaseApplication
|
class Application extends Component
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ class Command extends \Console\Command
|
|||||||
$action = $dtl->get('action', 3);
|
$action = $dtl->get('action', 3);
|
||||||
|
|
||||||
/** @var Server $server */
|
/** @var Server $server */
|
||||||
// $server = Snowflake::get()->get('server');
|
$server = Snowflake::get()->get('server');
|
||||||
// $server->start();
|
$server->start();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user