From 44a59a2041b3d779cc6865ef5a8792c912556d44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 22 Feb 2021 18:32:33 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index 5396afa7..e5feec96 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -62,10 +62,10 @@ class Node extends HttpService * @throws ComponentException * @throws Exception */ - public function afterInit() + public function init() { listen(Event::SERVER_AFTER_WORKER_START, [$this, 'restructure']); - var_dump($this, 'restructure'); + var_dump($this); } /**