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 b8cf4b5 commit f116918Copy full SHA for f116918
1 file changed
packages/container/src/GenericContainer.php
@@ -178,6 +178,7 @@ public function singleton(string $className, mixed $definition, null|string|Unit
178
$dependencyName = $this->resolveTaggedName($className, $tag);
179
180
$this->singletonDefinitions[$dependencyName] = $definition;
181
+ unset($this->resolvedSingletons[$dependencyName]);
182
183
return $this;
184
}
0 commit comments