File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1411,11 +1411,6 @@ may want to use:
1411
1411
# or pass a different entity manager to any
1412
1412
# - doctrine_transaction: ['custom']
1413
1413
1414
- # After handling, the clear() method is executed in the
1415
- # entity manager, which reduces the memory consumption and
1416
- # avoids side-effects related to unrefreshed entities
1417
- - doctrine_clear_entity_manager
1418
-
1419
1414
.. code-block :: xml
1420
1415
1421
1416
<!-- config/packages/messenger.xml -->
@@ -1441,8 +1436,6 @@ may want to use:
1441
1436
<framework:argument>custom</framework:argument>
1442
1437
</framework:middleware>
1443
1438
-->
1444
-
1445
- <framework : middleware id =" doctrine_clear_entity_manager" />
1446
1439
</framework : bus >
1447
1440
</framework : messenger >
1448
1441
</framework : config >
@@ -1461,17 +1454,12 @@ may want to use:
1461
1454
'doctrine_close_connection',
1462
1455
// Using another entity manager
1463
1456
['id' => 'doctrine_transaction', 'arguments' => ['custom']],
1464
- 'doctrine_clear_entity_manager',
1465
1457
],
1466
1458
],
1467
1459
],
1468
1460
],
1469
1461
]);
1470
1462
1471
- .. versionadded :: 4.4
1472
-
1473
- The ``doctrine_clear_entity_manager `` middleware was introduced in Symfony 4.4.
1474
-
1475
1463
Messenger Events
1476
1464
~~~~~~~~~~~~~~~~
1477
1465
You can’t perform that action at this time.
0 commit comments