This commit is contained in:
2021-08-18 11:56:19 +08:00
parent f375eec0a0
commit 99e2f36794
9 changed files with 21 additions and 14 deletions
+7 -2
View File
@@ -36,7 +36,13 @@ class Server extends HttpService
];
private ServerManager $manager;
/**
* @Inject ServerManager
* @var null|ServerManager
*/
#[Inject(ServerManager::class)]
private ?ServerManager $manager = null;
private mixed $daemon = 0;
@@ -50,7 +56,6 @@ class Server extends HttpService
*/
public function init()
{
$this->manager = ServerManager::getContext();
}