File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2441,6 +2441,10 @@ may want to use:
24412441 # in any handler will cause a rollback
24422442 - doctrine_transaction
24432443
2444+ # Log an error when a Doctrine transaction was opened but
2445+ # did not closed
2446+ - doctrine_open_transaction_logger
2447+
24442448 # or pass a different entity manager to any
24452449 # - doctrine_transaction: ['custom']
24462450
@@ -2462,6 +2466,7 @@ may want to use:
24622466 <framework : middleware id =" doctrine_transaction" />
24632467 <framework : middleware id =" doctrine_ping_connection" />
24642468 <framework : middleware id =" doctrine_close_connection" />
2469+ <framework : middleware id =" doctrine_open_transaction_logger" />
24652470
24662471 <!-- or pass a different entity manager to any -->
24672472 <!--
@@ -2486,6 +2491,7 @@ may want to use:
24862491 $bus->middleware()->id('doctrine_transaction');
24872492 $bus->middleware()->id('doctrine_ping_connection');
24882493 $bus->middleware()->id('doctrine_close_connection');
2494+ $bus->middleware()->id('doctrine_open_transaction_logger');
24892495 // Using another entity manager
24902496 $bus->middleware()->id('doctrine_transaction')
24912497 ->arguments(['custom']);
You can’t perform that action at this time.
0 commit comments