This commit is contained in:
2021-08-05 17:18:43 +08:00
parent ba7156770e
commit 1ad8449a69
2 changed files with 3 additions and 1 deletions
+3
View File
@@ -122,6 +122,9 @@ if (!function_exists('injectRuntime')) {
$di = Snowflake::getDi();
foreach ($fileLists as $class) {
$instance = $di->get($class);
foreach ($di->getTargetNote($class) as $value) {
$value->execute($instance);
}
$methods = $di->getMethodAttribute($class);
foreach ($methods as $method => $attribute) {
if (empty($attribute)) {