public function Request::setLocale in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Request.php \Symfony\Component\HttpFoundation\Request::setLocale()
Sets the locale.
Parameters
string $locale:
File
- vendor/
symfony/ http-foundation/ Request.php, line 1430
Class
- Request
- Request represents an HTTP request.
Namespace
Symfony\Component\HttpFoundationCode
public function setLocale($locale) {
$this
->setPhpDefaultLocale($this->locale = $locale);
}