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:
14111411 # or pass a different entity manager to any
14121412 # - doctrine_transaction: ['custom']
14131413
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-
14191414 .. code-block :: xml
14201415
14211416 <!-- config/packages/messenger.xml -->
@@ -1441,8 +1436,6 @@ may want to use:
14411436 <framework:argument>custom</framework:argument>
14421437 </framework:middleware>
14431438 -->
1444-
1445- <framework : middleware id =" doctrine_clear_entity_manager" />
14461439 </framework : bus >
14471440 </framework : messenger >
14481441 </framework : config >
@@ -1461,17 +1454,12 @@ may want to use:
14611454 'doctrine_close_connection',
14621455 // Using another entity manager
14631456 ['id' => 'doctrine_transaction', 'arguments' => ['custom']],
1464- 'doctrine_clear_entity_manager',
14651457 ],
14661458 ],
14671459 ],
14681460 ],
14691461 ]);
14701462
1471- .. versionadded :: 4.4
1472-
1473- The ``doctrine_clear_entity_manager `` middleware was introduced in Symfony 4.4.
1474-
14751463 Messenger Events
14761464~~~~~~~~~~~~~~~~
14771465
You can’t perform that action at this time.
0 commit comments