Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-12 14:43:28 +08:00
parent d707b7f384
commit 02d0c9a8fd
3 changed files with 7 additions and 59 deletions
+3 -18
View File
@@ -65,8 +65,10 @@ class Server extends HttpService
* @throws \ReflectionException
* @throws Exception
*/
public function start(): string
public function start(): mixed
{
$this->configure_set();
$this->manager()->initBaseServer(Config::get('server', [], true), $this->daemon);
$rpcService = Config::get('rpc', []);
@@ -102,23 +104,6 @@ class Server extends HttpService
}
/**
* @return void
* @throws ConfigException
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
* @throws \ReflectionException
* @throws \Exception
*/
public function runtime_start(): void
{
$this->configure_set();
$this->container->get(Router::class)->read_files();
$this->start();
}
/**
* @return void