Removes a cookie from the array, but does not unset it in the browser
@api
string $name:
string $path:
string $domain:
public function removeCookie($name, $path = '/', $domain = null) {
if (null === $path) {
$path = '/';
}
unset($this->cookies[$domain][$path][$name]);
if (empty($this->cookies[$domain][$path])) {
unset($this->cookies[$domain][$path]);
if (empty($this->cookies[$domain])) {
unset($this->cookies[$domain]);
}
}
}