This commit is contained in:
2021-02-22 18:32:33 +08:00
parent 1549f02aea
commit 44a59a2041
+2 -2
View File
@@ -62,10 +62,10 @@ class Node extends HttpService
* @throws ComponentException * @throws ComponentException
* @throws Exception * @throws Exception
*/ */
public function afterInit() public function init()
{ {
listen(Event::SERVER_AFTER_WORKER_START, [$this, 'restructure']); listen(Event::SERVER_AFTER_WORKER_START, [$this, 'restructure']);
var_dump($this, 'restructure'); var_dump($this);
} }
/** /**