Skip to content

Commit fdf457a

Browse files
committed
removing notes about doctrine_clear_entity_manager middleware
1 parent f1e0c4c commit fdf457a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

messenger.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy