File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -539,7 +539,8 @@ This allows you to create all types of requests you can think of:
539
539
540
540
Before each request, the client reboots the kernel, recreating the container from scratch.
541
541
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.
543
544
when a new request is sent (because the entity manager was "reset"). You have to query again entities if you want
544
545
to have entities in "valid state".
545
546
You can’t perform that action at this time.
0 commit comments