IfRangeHeader
in package
Table of Contents
Methods
- __construct() : mixed
- getDateTime() : DateTime
- getTag() : string
- hasDateTime() : bool
- hasTag() : bool
- matches() : bool
- parse() : IfRangeHeader
Methods
__construct()
public
__construct(string|null $tag, DateTime|null $dateTime) : mixed
Parameters
- $tag : string|null
- $dateTime : DateTime|null
getDateTime()
public
getDateTime() : DateTime
Return values
DateTimegetTag()
public
getTag() : string
Return values
stringhasDateTime()
public
hasDateTime() : bool
Return values
boolhasTag()
public
hasTag() : bool
Return values
boolmatches()
public
matches(string|DateTimeInterface $other) : bool
Parameters
- $other : string|DateTimeInterface
Return values
boolparse()
public
static parse(HttpHeader $header) : IfRangeHeader
Parameters
- $header : HttpHeader