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); } /**