This commit is contained in:
as2252258@163.com
2021-08-11 01:04:57 +08:00
parent 63d8eaa4a5
commit 682246df28
219 changed files with 790 additions and 791 deletions
+4 -4
View File
@@ -6,9 +6,9 @@ namespace HttpServer\Service\Abstracts;
use Exception;
use ReflectionException;
use Snowflake\Application;
use Snowflake\Exception\NotFindClassException;
use Snowflake\Snowflake;
use Kiri\Application;
use Kiri\Exception\NotFindClassException;
use Kiri\Kiri;
/**
@@ -114,7 +114,7 @@ trait Server
throw new Exception('class not found.');
}
$class = Snowflake::createObject($classPrefix, [Snowflake::app()]);
$class = Kiri::createObject($classPrefix, [Kiri::app()]);
return [$class, 'onHandler'];
}