Removes the cookie with the name $name

@param string $name
@param string $path
323697
public static function delete($name, $path = "/") {
		if (isset ( $_COOKIE [$name] )) {
			unset ( $_COOKIE [$name] );
		}
		\setcookie ( $name, "", \time () - 3600, $path );
	}
154627
private function setLocation($path, $name)
    {
        $this->paths[$this->where][$name][] = $path;

        return $this;
    }
370329
public function deleteCookie($name, $path = null, $domain = null, $secure = false, $httpOnly = true)
    {
        $context = $this->_context;

        $context->cookies[$name] = [
            'name' => $name,
            'value' => 'deleted',
            'expire' => 1,
            'path' => $path,
            'domain' => $domain,
            'secure' => $secure,
            'httpOnly' => $httpOnly
        ];

        $globals = $this->request->getGlobals();

        unset($globals->_COOKIE[$name]);

        return $this;
    }
1250163
public function delete($name, $path = null, $domain = null, $secure = false, $httpOnly = true)
    {
        $this->response->deleteCookie($name, $path, $domain, $secure, $httpOnly);

        return $this;
    }
109300
public function define($name, $path)
    {
        $name = $this->normalizeName($name);

        if (strpos($path, "%$name%") !== false) {
            throw new \InvalidArgumentException('Paths cannot reference themselves.');
        }

        $this->paths[$name] = $path;
    }
458310
public function deleteCookie($name = null)
    {
        if (isset($name)) {

            if (isset($this->request['cookie'][$name])) {
                unset($this->request['cookie'][$name]);
                return setcookie($name, '', GC_TIME - 3600, '/');
            }

            return false;
        }

        foreach (array_keys($this->request['cookie']) as $key) {
            $this->deleteCookie($key);
        }

        return true;
    }
1236344
public static function delete($name, $path = '', $domain = '')
    {
        self::set($name, '', -3600, $path, $domain);
        unset($_COOKIE[Config::get('cookie_prefix') . $name]);
    }
469113
public function read($name, $path = null) {
        // in cache?
        if(isset($this->cache[$name]))
            return !is_null($path) && isset($this->cache[$name][$path]) ? $this->cache[$name][$path] : $this->cache[$name];

        // no cookie?
        if(!$this->check($name))
            return null;

        return $this->cookies->get($name)->read($path);
    }
136896
protected function removeExpiredCookies($host, $path)
    {
        $time = new DateTimeImmutable('now', new DateTimeZone('UTC'));
        $hostPattern = '/' . preg_quote($host, '/') . '$/';

        foreach ($this->cookies as $i => $cookie) {
            $expired = $cookie->isExpired($time);
            $pathMatches = strpos($path, $cookie->getPath()) === 0;
            $hostMatches = preg_match($hostPattern, $cookie->getDomain());
            if ($pathMatches && $hostMatches && $expired) {
                unset($this->cookies[$i]);
            }
        }
    }
265944
public function remove($name)
    {
        if (isset($this->routes[$name])) {
            unset($this->routes[$name]);
        }

        return $this;
    }
593304
public function removeCookie($name, $path = '/', $domain = NULL) {

        if ($path === NULL) {
            $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]);
            }
        }

    }
1303787
protected function _delete($name)
    {
        $config = $this->configKey($name);
        $expires = new Time('now');
        $controller = $this->getController();

        $cookie = new Cookie(
            $name,
            '',
            $expires,
            $config['path'],
            $config['domain'],
            (bool)$config['secure'],
            (bool)$config['httpOnly']
        );

        $controller->response = $controller->response->withExpiredCookie($cookie);
    }
714133
public function set($name, $path)
    {
        if ($name[0] !== '@') {
            throw new MisuseException(['`:name` must start with `@`', 'name' => $name]);
        }

        if ($path === '') {
            $this->_aliases[$name] = $path;
        } elseif ($path[0] !== '@') {
            $this->_aliases[$name] = (strpos($name, '@ns.') === 0 || DIRECTORY_SEPARATOR === '/') ? $path : strtr($path, '\\', '/');
        } else {
            $this->_aliases[$name] = $this->resolve($path);
        }

        return $this->_aliases[$name];
    }
548457
public function remove($name)
    {
        $new = clone $this;
        $key = mb_strtolower($name);
        foreach ($new->cookies as $i => $cookie) {
            if (mb_strtolower($cookie->getName()) === $key) {
                unset($new->cookies[$i]);
            }
        }

        return $new;
    }
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]);
    }
678397
public static function delete($name, $path = null, $domain = null, $secure = null, $httponly = null)
    {
        return Router::getInstance()->deleteCookie($name, $path, $domain, $secure, $httponly);
    }
1259536
protected function setCookie($name, $value = null)
    {
        if ($value !== null) {
            $this->cookie[$name] = $value;
        } elseif (isset($this->cookie[$name])) {
            unset($this->cookie[$name]);
        }
    }