Symfony\Component\BrowserKit\CookieJar::expire
Removes a cookie by name.
You should never use an empty domain, but if you do so, all cookies for the given name/path expire (this behavior ensures a BC behavior with previous versions of Symfony).
Signature
public function expire(string
$name,
[string
$path = '/',
[string
$domain = null]] )
Parameters
$name
— string- The cookie name
$path
— string- The cookie path
$domain
— string- The cookie domain