private negotiateLocale ( ) : string | ||
return | string |
private function negotiateLocale()
{
$negotiator = new Negotiator($this->getDefaultLocale(), $this->getSupportedLocales());
return $negotiator->negotiate($this->request());
}