static Cookie fromString(string $cookie, string $url = null)
Creates a Cookie instance from a Set-Cookie header value.
static Cookie fromString(string $cookie, string $url = null)
Creates a Cookie instance from a Set-Cookie header value.
string | $cookie | A Set-Cookie header value |
string | $url | The base URL |
Cookie | A Cookie instance |
InvalidArgumentException |
Designed by : w10schools
service@w10schools.com
Please login to continue.