refactor container injection

This commit is contained in:
sunxyw
2022-04-11 23:31:49 +08:00
parent f2aff5882d
commit 7253a309c7
8 changed files with 141 additions and 101 deletions

View File

@@ -15,6 +15,7 @@ class Container extends WorkerContainer
public function __construct()
{
parent::__construct();
$this->parent = WorkerContainer::getInstance();
}