LanguagePropertiesExtractor
in package
Parses the Accept-Language header and adds the language and languageLocale properties the properties set.
Tags
Table of Contents
Properties
- $LANGUAGE_LOCALE_PROPERTY_NAME : mixed
- $LANGUAGE_PROPERTY_NAME : mixed
Methods
- extract() : mixed
- __construct() : mixed
Properties
$LANGUAGE_LOCALE_PROPERTY_NAME
public
static mixed
$LANGUAGE_LOCALE_PROPERTY_NAME
= "languageLocale"
$LANGUAGE_PROPERTY_NAME
public
static mixed
$LANGUAGE_PROPERTY_NAME
= "language"
Methods
extract()
public
static extract(mixed $acceptLanguage, mixed $properties, mixed $includeLanguage, mixed $includeLanguageLocale) : mixed
Parameters
- $acceptLanguage : mixed
- $properties : mixed
- $includeLanguage : mixed
- $includeLanguageLocale : mixed
__construct()
private
__construct() : mixed