Skip to content

Commit 4cf2d0b

Browse files
committed
[#6174] tweak the event description
1 parent 282fd8a commit 4cf2d0b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

reference/events.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,10 @@ Listener Class Name
163163

164164
**Event Class**: :class:`Symfony\\Component\\HttpKernel\\Event\\FinishRequestEvent`
165165

166-
The purpose of this event is to allow you to reset the global and environmental state of
167-
the application after a sub-request has finished::
166+
The purpose of this event is to allow you to reset the global and environmental
167+
state of the application after a sub-request has finished (for example, the
168+
translator listener resets the translator's locale to the one of the parent
169+
request)::
168170

169171
public function onKernelFinishRequest(FinishRequestEvent $event)
170172
{

0 commit comments

Comments
 (0)