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