Symfony\Component\Intl\Locale\Locale::acceptFromHttp
Not supported. Returns the best available locale based on HTTP "Accept-Language" header according to RFC 2616
Signature
public function acceptFromHttp(string
$header )
Parameters
$header
— string- The string containing the "Accept-Language" header value
Returns
- string
- The corresponding locale code