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 2b2d2e7 commit 09b0ae2Copy full SHA for 09b0ae2
src/Test/LazyManagerRegistry.php
@@ -62,7 +62,13 @@ public function resetManager($name = null): ObjectManager
62
63
public function getAliasNamespace($alias): string
64
{
65
- return $this->inner()->getAliasNamespace($alias);
+ $inner = $this->inner();
66
+
67
+ if (\method_exists($inner, 'getAliasNamespace')) {
68
+ return $inner->getAliasNamespace($alias);
69
+ }
70
71
+ throw new \BadMethodCallException('Method removed in doctrine/persistence v3.');
72
}
73
74
public function getManagerNames(): array
0 commit comments