This commit is contained in:
2020-08-31 12:38:32 +08:00
parent 683a39dded
commit 65c443ec87
126 changed files with 7369 additions and 228 deletions
+3 -2
View File
@@ -6,10 +6,11 @@ namespace HttpServer\Route;
use Exception;
use HttpServer\Application;
use Snowflake\Snowflake;
/**
* Class TcpListen
* @package BeReborn\Route
* @package Snowflake\Snowflake\Route
*/
class Handler extends Application
{
@@ -23,7 +24,7 @@ class Handler extends Application
*/
public function __construct()
{
$this->router = \BeReborn::$app->getRouter();
$this->router = Snowflake::get()->router;
parent::__construct([]);
}