改名
This commit is contained in:
@@ -125,7 +125,9 @@ class Annotation extends Component
|
||||
return [];
|
||||
}
|
||||
|
||||
$object = $reflect->newInstance();
|
||||
$def = Snowflake::getDi()->getDependencies($class);
|
||||
|
||||
$object = $reflect->newInstanceArgs($def);
|
||||
$this->resolveMethod($reflect, $class, $alias, $object);
|
||||
return $this->targets($reflect);
|
||||
} catch (\Throwable $throwable) {
|
||||
|
||||
Reference in New Issue
Block a user