Skip to content

Commit 2d040dd

Browse files
authored
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.
1 parent eec60e4 commit 2d040dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/mongodb.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
abstract_arg('Proxy Interface Name'),
5757
service('service_container'),
5858
])
59+
->tag('kernel.reset', ['method' => 'reset'])
5960

6061
->set('doctrine_mongodb.odm.listeners.resolve_target_document', ResolveTargetDocumentListener::class)
6162

0 commit comments

Comments
 (0)