ContentLanguageHeader
Table of Contents
Methods
-
__construct()
: mixed
-
getLanguages()
: array<string|int, mixed>
-
hasLanguage()
: bool
-
parse()
: ContentLanguageHeader
__construct()
public
__construct(array<string|int, mixed> $langs) : mixed
Parameters
-
$langs
: array<string|int, mixed>
-
getLanguages()
public
getLanguages() : array<string|int, mixed>
Return values
array<string|int, mixed>
hasLanguage()
public
hasLanguage(string $lang) : bool
Parameters
-
$lang
: string
-
parse()
public
static parse(HttpHeader $header) : ContentLanguageHeader
Parameters
-
$header
: HttpHeader
-