RangeHeader
Table of Contents
Methods
-
__construct()
: mixed
-
getRanges()
: array<string|int, mixed>
-
getUnit()
: string
-
isBytes()
: bool
-
parse()
: RangeHeader
__construct()
public
__construct(string $unit, array<string|int, mixed> $ranges) : mixed
Parameters
-
$unit
: string
-
-
$ranges
: array<string|int, mixed>
-
getRanges()
public
getRanges() : array<string|int, mixed>
Return values
array<string|int, mixed>
getUnit()
public
getUnit() : string
isBytes()
public
isBytes() : bool
parse()
public
static parse(HttpHeader $header) : RangeHeader
Parameters
-
$header
: HttpHeader
-