38 static function negotiate($acceptHeaderValue, array $availableOptions) {
toDate(DateTime $dateTime)
Transforms a DateTime object to a valid HTTP/1.1 Date header value.
static negotiate($acceptHeaderValue, array $availableOptions)
Deprecated! Use negotiateContentType.
static toHTTPDate(\DateTime $dateTime)
Transforms a DateTime object to HTTP's most common date format.
static parseHTTPDate($dateHeader)
Parses a RFC2616-compatible date string.
static negotiateContentType($acceptHeaderValue, array $availableOptions)
Content negotiation.
parseDate($dateString)
A collection of useful helpers for parsing or generating various HTTP headers.