Solar_Http_Request_Adapter_Stream::_parseCookie()

protected array Solar_Http_Request_Adapter_Stream::_parseCookie ( string $text )

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

Inherited from Solar_Http_Request_Adapter.

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