Solar_Http_Request_Adapter::_parseCookie()

protected array Solar_Http_Request_Adapter::_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, expires, etc.

Description

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



Local