TractorCow\Fluent\Middleware\DetectLocaleMiddleware::setPersistLocale
Specify the locale to persist between sessions, or to use for the locale outside of locale-routed pages (such as in unit tests, custom controllers, etc).
Not to be confused with the temporary locale assigned with . @param HTTPRequest $request
Signature
protected function setPersistLocale(HTTPRequest
$request,
string
$locale )
Parameters
Returns
- $this
Line | Task |
---|---|
198+ | implement this. |