modify plugin name
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user