Removes a cookie.

@param *string $name The cookie name

@return Eden\Cookie\Index
964420
public function remove($name)
    {
        //argument 1 must be a string
        Argument::i()->test(1, 'string');

        $this->set($name, null, time() - 3600);

        unset($_COOKIE[$name]);

        return $this;
    }
654390
public function remove($name)
    {
        $name = $this->normalizeName($name);
        if (isset($this->data[$name])) {
            unset($this->data[$name]);
        }

        return $this;
    }
1048593
public function unregisterObject($name)
    {
        if (isset($this->smarty->registered_objects[$name])) {
            unset($this->smarty->registered_objects[$name]);
        }

        return $this;
    }
495868
public function remove(string $name): Headers
	{
		unset($this->headers[$this->normalizeName($name)]);

		return $this;
	}
542753
public function consume($name) {
        $value = $this->read($name);
        $this->remove($name);
        return $value;
    }
1116015
public function removeCookie(string $name): Response
    {
        $this->addCookie(
                Cookie::create($name, 'remove')->expiringAt(time() - 86400)
        );
        return $this;
    }
304215
public function removeHeader(string $name)
    {
        parent::removeHeader($name);

        if (\stripos($name, "cookie") === 0) {
            $this->cookies = [];
        }
    }
93514
public function delete(string $name, array $options = []): Cookies
	{
		$this->add($name, '', -3600, $options);

		return $this;
	}
559394
public function removeHeader(string $name) : self
    {
        if (!isset($this->headers[$name])) {
            return $this;
        }

        unset($this->headers[$name]);

        return $this;
    }
558770
public function remove($name)
    {
        unset($this->_definitions[$name], $this->_instances[$name], $this->{$name});

        return $this;
    }
342655
public function actionDelete($name)
    {
        $rule = $this->findRule($name);

        $this->authManager->remove($rule);
        $this->authManager->invalidateCache();

        \Yii::$app->session->setFlash('success', \Yii::t('rbac', 'Rule has been removed'));

        return $this->redirect(['index']);
    }
17994
public function DeleteCookie($name, $domain)
	{
		$sig =	$this->encode($this->applicationSecret."|".$name."|".$domain."|1");

		$qs = "key=" .urlencode($this->applicationKey)."&domain=".urlencode($domain)."&name=".urlencode($name)."&delete=1&sig=".$sig;

		return $this->isSuccessful($this->Get($this->getRootUrl(false) . "setcookie.ashx?" . $qs));
	}
528074
protected function deleteCookie($name)
    {
        $nameEscaped = json_encode($name);

        $js = <<<JS
(function(){
    var path = location.pathname;

    do {
        document.cookie = {$nameEscaped} + '=; path=' + path + '; expires=Thu, 01 Jan 1970 00:00:00 GMT';
        path = path.replace(/.$/, '');
    } while (path);
})()
JS;

        try {
            $this->executeScript($js);
        } catch (\Exception $e) {
            // ignore error
        }
    }
65148
protected function deleteCookie($name)
	{
		// Remove the cookie
		unset($_COOKIE[$name]);

		// Nullify the cookie and make it expire
		return setcookie($name, null, -86400, $this->config['cookie_path'], $this->config['cookie_domain'], $this->config['cookie_secure'], $this->config['cookie_http_only']);
	}
1245674
public function withoutHeader($name)
    {
        $instance = clone $this;
        $instance->headers->remove($name, $value);
        return $instance;
    }
247604
public function removeExtension($name)
    {
        if (isset($this->extensions[$name])) {
            unset($this->extensions[$name]);
        }

        return $this;
    }
1253049
public function remove($name)
    {
        $name = $this->getFullName($name);

        // Delete existing response cookie
        if (isset($this->responseCookies[$name])) {
            unset($this->responseCookies[$name]);
        }

        // Set response cookie if request cookie was set
        if (null !== $this->get($name)) {
            // Note: timestamp '1' = '1970-01-01 00:00:00 UTC'
            $this->set($name, 'deleted', '1');
        }

        return $this;
    }