modify
This commit is contained in:
@@ -104,6 +104,7 @@ class Container extends BaseObject
|
|||||||
throw new NotFindClassException($reflect->getName());
|
throw new NotFindClassException($reflect->getName());
|
||||||
}
|
}
|
||||||
$this->_param[$class] = $config;
|
$this->_param[$class] = $config;
|
||||||
|
$this->_param[$class]['class'] = $class;
|
||||||
|
|
||||||
$dependencies = $this->_constructs[$class] ?? [];
|
$dependencies = $this->_constructs[$class] ?? [];
|
||||||
if (empty($config)) {
|
if (empty($config)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user