Creates a Cookie instance from a Set-Cookie header value.
public static fromString ( string $cookie, string $url = null ) : |
||
$cookie | string | A Set-Cookie header value |
$url | string | The base URL |
return | A Cookie instance |