Delete cookie.

@param  string $name
@return bool
352472
public function delete($name)
    {
        $this->func = function () use ($name) {
            setcookie($name, null, 0);
            return $name;
        };
        return new CookieFlush($this->func);
    }
1363998
public function cookie($name = null)
    {
        if ($name === null) {
            return $this->cookie;
        }

        return $this->cookie[$name] ?? null;
    }
1307569
public function removeCookie($name)
	{
		$cookie = new SetCookieHeader($name, '');
		$cookie->setExpires(1337);
		
		$this->addHeader($cookie);
		
		return $this;
	}
820292
public function remove($name)
    {
        if(array_key_exists($name, $this->data))
        {
            unset($this->data[$name]);
            return true;
        }
        else
        {
            return false;
        }
    }
228073
public function delete($name)
    {
        $this->connect();
        $key = $this->getCacheKey($name);

        return self::$instance->delete($key);
    }
98701
public static function remove($name)
    {
        $model = self::find()->where([self::getNameAttribute() => $name])->one();
    
        if ($model) {
            return (bool) $model->delete();
        }
    
        return false;
    }
297880
public function delete($name){

		try{

			$file = $this->_getFileName($name);
		}
		catch(CacheException $e){

			return false;
		}

		return @unlink($this->_cache_path . $file);
	}
125802
public function removeCookieItem($key)
    {
        if (isset($this->cookie[$key])) {
            unset($this->cookie[$key]);
            return true;
        } else {
            return false;
        }
    }
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));
	}
1055426
public function deleteServer($name)
    {
        if (isset($this->config['servers']) && isset($this->config['servers'][$name])) {
            unset($this->config['servers'][$name]);
            $this->ldapUserRepo->deleteUsersByServerName($name);

            return $this->saveConfig();
        }
    }
739584
public function delete($name, $path = '/', $domain = '')
    {
        if (empty($domain)) {
            $GLOBALS['__$response']->cookie($name, null, time() - 3600, '/');
        } else {
            $domain = '.' . $_SERVER['HTTP_HOST'];
            $GLOBALS['__$response']->cookie($name, null, time() - 3600, '/', $domain);
        }

        unset($_COOKIE[$name]);
    }
57196
public function delete($name, $path = '/', $domain = '')
    {
        if (empty($domain)) {
            setcookie($name, null, time() - 3600, '/');
        } else {
            $domain = '.' . $_SERVER['HTTP_HOST'];
            setcookie($name, null, time() - 3600, '/', $domain);
        }

        unset($_COOKIE[$name]);
    }
308653
public static function exists($name)
    {
        if (isset($_COOKIE[$name]) && !empty($_COOKIE[$name])) {
            return true;
        } else {
            return false;
        }
    }
1137243
public static function delete($name)
    {
        unset($_COOKIE[$name]);
        return Base::getHttp()->setCookie($name, null, -86400, Cookie::$path, Cookie::$domain, Cookie::$secure, Cookie::$httpOnly);
    }
987915
public function deleteTable($name)
    {
        try {
            $this->_tableProxy->deleteTable($name);

            return true;
        } catch (\Exception $ex) {
            return false;
        }
    }
1254826
public function getCookie($name = '')
    {
        if (isset(CookieContainer::getCookies()[$name])) {
            return CookieContainer::getCookies()[$name];
        } else {
            return false;
        }
    }
1250163
public function delete($name, $path = null, $domain = null, $secure = false, $httpOnly = true)
    {
        $this->response->deleteCookie($name, $path, $domain, $secure, $httpOnly);

        return $this;
    }