remove()
remove(string $domain = null, string $path = null, string $name = null) : \Guzzle\Plugin\Cookie\CookieJar\CookieJarInterface
Remove cookies currently held in the Cookie cookieJar.
Invoking this method without arguments will empty the whole Cookie cookieJar. If given a $domain argument only cookies belonging to that domain will be removed. If given a $domain and $path argument, cookies belonging to the specified path within that domain are removed. If given all three arguments, then the cookie with the specified name, path and domain is removed.
Parameters
string | $domain | Set to clear only cookies matching a domain |
string | $path | Set to clear only cookies matching a domain and path |
string | $name | Set to clear only cookies matching a domain, path, and name |