Previous Page
_fetch()

Solar_Http_Request_Adapter
_parseCookie()

Next Page
_prepareRequest()

_parseCookie()

protected array _parseCookie ( string $text )

Parses a "Set-Cookie" header value and returns it as an array.

Parameters

  • (string) $text: The Set-Cookie text string value.

Returns

  • (array) An array with keys for each element of the cookie: name, value, expire, etc.

Description

Parses a "Set-Cookie" header value and returns it as an array.