We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5de56eb commit 9737bccCopy full SHA for 9737bcc
src/Symfony/Bridge/Doctrine/ManagerRegistry.php
@@ -53,7 +53,10 @@ protected function resetService($name)
53
}
54
$manager->setProxyInitializer(\Closure::bind(
55
function (&$wrappedInstance, LazyLoadingInterface $manager) use ($name) {
56
- if (isset($this->aliases[$name = strtolower($name)])) {
+ if (isset($this->normalizedIds[$normalizedId = strtolower($name)])) {
57
+ $name = $this->normalizedIds[$normalizedId];
58
+ }
59
+ if (isset($this->aliases[$name])) {
60
$name = $this->aliases[$name];
61
62
$method = !isset($this->methodMap[$name]) ? 'get'.strtr($name, $this->underscoreMap).'Service' : $this->methodMap[$name];
0 commit comments