File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -711,10 +711,10 @@ kernel.reset
711
711
712
712
**Purpose **: Clean up services between requests
713
713
714
- During the `` kernel.terminate `` event, Symfony looks for any service tagged
715
- with the ``kernel.reset `` tag to reinitialize their state. This is done by
716
- calling to the method whose name is configured in the `` method `` argument of
717
- the tag.
714
+ In all main requests (not :ref: ` sub-requests < http-kernel-sub-requests >`) except
715
+ the first one, Symfony looks for any service tagged with the ``kernel.reset `` tag
716
+ to reinitialize their state. This is done by calling to the method whose name is
717
+ configured in the `` method `` argument of the tag.
718
718
719
719
This is mostly useful when running your projects in application servers that
720
720
reuse the Symfony application between requests to improve performance. This tag
You can’t perform that action at this time.
0 commit comments