Skip to content

Commit c4c1899

Browse files
qdequippeHeahDude
andauthored
Update testing.rst
Co-authored-by: Jules Pietri <heahdude@yahoo.fr>
1 parent 6f431a4 commit c4c1899

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

testing.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,8 @@ This allows you to create all types of requests you can think of:
539539

540540
Before each request, the client reboots the kernel, recreating the container from scratch.
541541
That gives each request an "isolated" environment because each request will create new service objects.
542-
But for example, when using the entity manager of Doctrine, all entities loaded with it are "lost"
542+
Also, it means that entities loaded by Doctrine repositories will be "detached", so they will need to be
543+
refreshed by the manager or queried again from a repository.
543544
when a new request is sent (because the entity manager was "reset"). You have to query again entities if you want
544545
to have entities in "valid state".
545546

0 commit comments

Comments
 (0)