This commit is contained in:
as2252258@163.com
2021-02-23 01:38:17 +08:00
parent 00a58a0b69
commit 5dfe6215c3
-2
View File
@@ -71,8 +71,6 @@ class Container extends BaseObject
if (is_callable($definition, TRUE)) {
return call_user_func($definition, $this, $constrict, $config);
} else if (is_array($definition)) {
$definition = $this->mergeParam($definition, $constrict);
return $this->_singletons[$class] = $this->resolve($class, $definition, $config);
} else if (is_object($definition)) {
return $this->_singletons[$class] = $definition;