改名
This commit is contained in:
@@ -167,7 +167,7 @@ class Container extends BaseObject
|
|||||||
};
|
};
|
||||||
$constructs = $reflection->getConstructor();
|
$constructs = $reflection->getConstructor();
|
||||||
if (!($constructs instanceof \ReflectionMethod)) {
|
if (!($constructs instanceof \ReflectionMethod)) {
|
||||||
return [$reflection, []];
|
return [$reflection, $this->_constructs[$class] = []];
|
||||||
}
|
}
|
||||||
foreach ($constructs->getParameters() as $key => $param) {
|
foreach ($constructs->getParameters() as $key => $param) {
|
||||||
$dependencies[] = $this->resolveDefaultValue($param);
|
$dependencies[] = $this->resolveDefaultValue($param);
|
||||||
|
|||||||
Reference in New Issue
Block a user