This commit is contained in:
as2252258@163.com
2021-02-23 02:36:41 +08:00
parent 905d3ec2c8
commit 34a277f0a6
+1
View File
@@ -104,6 +104,7 @@ class Container extends BaseObject
throw new NotFindClassException($reflect->getName());
}
$this->_param[$class] = $config;
$this->_param[$class]['class'] = $class;
$dependencies = $this->_constructs[$class] ?? [];
if (empty($config)) {