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:
2441
2441
# in any handler will cause a rollback
2442
2442
- doctrine_transaction
2443
2443
2444
+ # Log an error when a Doctrine transaction was opened but
2445
+ # did not closed
2446
+ - doctrine_open_transaction_logger
2447
+
2444
2448
# or pass a different entity manager to any
2445
2449
# - doctrine_transaction: ['custom']
2446
2450
@@ -2462,6 +2466,7 @@ may want to use:
2462
2466
<framework : middleware id =" doctrine_transaction" />
2463
2467
<framework : middleware id =" doctrine_ping_connection" />
2464
2468
<framework : middleware id =" doctrine_close_connection" />
2469
+ <framework : middleware id =" doctrine_open_transaction_logger" />
2465
2470
2466
2471
<!-- or pass a different entity manager to any -->
2467
2472
<!--
@@ -2486,6 +2491,7 @@ may want to use:
2486
2491
$bus->middleware()->id('doctrine_transaction');
2487
2492
$bus->middleware()->id('doctrine_ping_connection');
2488
2493
$bus->middleware()->id('doctrine_close_connection');
2494
+ $bus->middleware()->id('doctrine_open_transaction_logger');
2489
2495
// Using another entity manager
2490
2496
$bus->middleware()->id('doctrine_transaction')
2491
2497
->arguments(['custom']);
You can’t perform that action at this time.
0 commit comments