Pop\Web\Cookie::__unset PHP Метод

__unset() публичный Метод

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