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 6f26ed3 commit 2c2f0c8Copy full SHA for 2c2f0c8
ManagerRegistry.php
@@ -72,6 +72,8 @@ function (&$wrappedInstance, LazyLoadingInterface $manager) use ($name) {
72
}
73
if (isset($this->fileMap[$name])) {
74
$wrappedInstance = $this->load($this->fileMap[$name], false);
75
+ } elseif ((new \ReflectionMethod($this, $this->methodMap[$name]))->isStatic()) {
76
+ $wrappedInstance = $this->{$this->methodMap[$name]}($this, false);
77
} else {
78
$wrappedInstance = $this->{$this->methodMap[$name]}(false);
79
0 commit comments