Pop\Web\Cookie::__unset PHP Method

__unset() public method

Unset the value in the $_COOKIE global variable.
public __unset ( string $name ) : void
$name string
return void
    public function __unset($name)
    {
        if (isset($_COOKIE[$name])) {
            setcookie($name, $_COOKIE[$name], time() - 3600, $this->path, $this->domain, $this->secure, $this->httponly);
        }
    }