From 5c861c312b5d48915938985a23b15b412c6d220a Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Thu, 30 Mar 2023 23:02:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ServerCommand.php | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/ServerCommand.php b/ServerCommand.php index 722e32c..35a165e 100644 --- a/ServerCommand.php +++ b/ServerCommand.php @@ -99,28 +99,13 @@ class ServerCommand extends Command * @return int * @throws ConfigException * @throws ContainerExceptionInterface - * @throws NotFoundExceptionInterface|ReflectionException + * @throws NotFoundExceptionInterface */ protected function start(InputInterface $input): int { - $this->scan_file(); $this->server->setDaemon((int)!is_null($input->getOption('daemon'))); $this->server->start(); return 1; } - - /** - * @return void - * @throws ConfigException - * @throws ReflectionException - */ - protected function scan_file(): void - { -// $config = Config::get('reload.scanner', []); -// if (is_array($config)) foreach ($config as $key => $value) { -// scan_directory($value, $key); -// } - } - }