modify plugin name

This commit is contained in:
2022-02-27 17:22:09 +08:00
parent b278f17175
commit d3d884b050
+3
View File
@@ -84,6 +84,9 @@ class Container implements ContainerInterface
}
if ($this->isInterface($class)) {
$class = $this->_interfaces[$class];
if (is_null($class)) {
throw new Exception('Unknown class mapping ' . $class . '::class');
}
}
if (!isset($this->_singletons[$class])) {
$this->_singletons[$class] = $this->resolve($class, $constrict, $config);