Skip to content

Commit cf21718

Browse files
committed
[ci skip] Add setLocale, fixes #4091
1 parent 48365c5 commit cf21718

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

user_guide_src/source/outgoing/localization.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ method that will automatically perform :doc:`content negotiation </incoming/cont
5252
determine the correct locale to use. The second method allows you to specify a segment in your routes that
5353
will be used to set the locale.
5454

55+
Should you ever need to set the locale directly you may use ``IncomingRequest::setLocale(string $locale)``.
56+
5557
Content Negotiation
5658
-------------------
5759

0 commit comments

Comments
 (0)