改名
This commit is contained in:
@@ -50,7 +50,7 @@ class Application extends BaseApplication
|
||||
if (!class_exists($service)) {
|
||||
throw new NotFindClassException($service);
|
||||
}
|
||||
$class = Snowflake::createObject($service);
|
||||
$class = Snowflake::createObject($service, [Snowflake::get()]);
|
||||
if (method_exists($class, 'onImport')) {
|
||||
$class->onImport($this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user