This commit is contained in:
2021-08-03 18:18:09 +08:00
parent 324db2fa3f
commit 5b28c52a10
43 changed files with 755 additions and 653 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ class Application extends BaseApplication
if (!class_exists($service)) {
throw new NotFindClassException($service);
}
$class = Snowflake::createObject($service);
$class = Snowflake::getDi()->get($service);
if (method_exists($class, 'onImport')) {
$class->onImport($this);
}