AcceptEncodingHeader
Table of Contents
Methods
-
__construct()
: mixed
-
accepts()
: int
-
getEncodings()
: array<string|int, mixed>
-
getRejects()
: array<string|int, mixed>
-
parse()
: AcceptEncodingHeader
-
rejects()
: bool
__construct()
public
__construct(array<string|int, mixed> $encodings, array<string|int, mixed> $rejects) : mixed
Parameters
-
$encodings
: array<string|int, mixed>
-
-
$rejects
: array<string|int, mixed>
-
accepts()
public
accepts(string $algoName) : int
Parameters
-
$algoName
: string
-
getEncodings()
public
getEncodings() : array<string|int, mixed>
Return values
array<string|int, mixed>
getRejects()
public
getRejects() : array<string|int, mixed>
Return values
array<string|int, mixed>
parse()
public
static parse(array<string|int, mixed> $lines) : AcceptEncodingHeader
Parameters
-
$lines
: array<string|int, mixed>
-
rejects()
public
rejects(string $locale) : bool
Parameters
-
$locale
: string
-