This commit is contained in:
2020-09-01 18:24:43 +08:00
parent 7fa9f89d0a
commit 6819ea1915
2 changed files with 3 additions and 4 deletions
+2 -4
View File
@@ -5,14 +5,12 @@ namespace HttpServer\Events;
use Exception;
use HttpServer\Application;
use HttpServer\ServerManager;
use ReflectionException;
use Snowflake\Application;
use Snowflake\Core\JSON;
use Snowflake\Exception\ComponentException;
use Snowflake\Exception\NotFindClassException;
use Snowflake\Snowflake;
use Swoole\Process\Pool;
use Swoole\Server;
use Closure;
@@ -23,7 +21,7 @@ use Closure;
abstract class Service extends Server
{
/** @var \Snowflake\Application */
/** @var Application */
protected $application;
@@ -21,6 +21,7 @@ class OnShutdown extends Callback
*/
public function onHandler(Server $server)
{
var_dump($server);
}
}