From e4670ecc3fc74996f15fdfcb1bb5e513749163d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 22 Feb 2021 18:05:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Route/Node.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index f745518c..f7d55f42 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -65,6 +65,7 @@ class Node extends HttpService public function afterInit() { listen(Event::SERVER_AFTER_WORKER_START, [$this, 'restructure']); + var_dump($this, 'restructure'); } /** @@ -445,7 +446,7 @@ class Node extends HttpService */ private function restructure(): static { - $this->error('eeee'); + var_dump($this, 'restructure'); if (empty($this->handler)) { return $this; }