mirror of
https://github.com/doctrine/DoctrineMongoDBBundle.git
synced 2026-03-23 22:32:07 +01:00
Add kernel.reset tag to doctrine_mongodb definition (#943)
Fixes php/frankenphp#1767 The `ResetInterface` is not autoconfigured for bundles therefore this is never triggered by the ServicesResetter.
This commit is contained in:
@@ -56,6 +56,7 @@ return static function (ContainerConfigurator $containerConfigurator): void {
|
||||
abstract_arg('Proxy Interface Name'),
|
||||
service('service_container'),
|
||||
])
|
||||
->tag('kernel.reset', ['method' => 'reset'])
|
||||
|
||||
->set('doctrine_mongodb.odm.listeners.resolve_target_document', ResolveTargetDocumentListener::class)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user