Delete cookie

@access public

@param string $name cookie name

@return bool
506264
public function del($name)
    {
        if ($this->exists($name)) {
            return $this->set($name, false, time() - 3600);
        }

        return false;
    }
779417
public function hasCookie($name)
    {
        if (!$this->request) {
            return $this->getRequest()->hasCookie($name);
        }
        return parent::hasCookie($name);
    }
944904
public function Delete($name, $path = '/', $domain = false, $remove_from_global = true)
    {

        $retval = false;
        if (!headers_sent()) {
            if ($domain === false)
                $domain = $_SERVER['HTTP_HOST'];
            $retval = setcookie($name, '', time() - 3600, $path, $domain);

            if ($remove_from_global)
                unset($_COOKIE[$name]);
        }
        return $retval;
    }
967877
public function remove($name)
    {
        $this->instance->unlock();
        $result = $this->instance->remove($name);
        $this->instance->lock();
        return $result;
    }
820292
public function remove($name)
    {
        if(array_key_exists($name, $this->data))
        {
            unset($this->data[$name]);
            return true;
        }
        else
        {
            return false;
        }
    }
1236344
public static function delete($name, $path = '', $domain = '')
    {
        self::set($name, '', -3600, $path, $domain);
        unset($_COOKIE[Config::get('cookie_prefix') . $name]);
    }
464470
public function removeCookie($name, $path = '/', $domain = null)
    {
        //Ensure we have a valid path
        if (empty($path)) {
            $path = '/';
        }

        //Force to string to allow passing objects
        $path = (string) $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]);
            }
        }
    }
320285
public static function erase($name) {

        try {

            $class = get_called_class();

            $cookie = new $class($name);

            return $cookie->delete();

        } catch (CookieException $ce) {

            throw $ce;

        }

    }
308653
public static function exists($name)
    {
        if (isset($_COOKIE[$name]) && !empty($_COOKIE[$name])) {
            return true;
        } else {
            return false;
        }
    }
318229
public function has($name)
    {
        if (isset($name) && !empty($name)) {
            if (isset($_COOKIE[$name])) {
                return true;
            } else {
                return false;
            }
        } else {
            return false;
        }
    }
893766
public function delete($name)
    {
        if ($this->check($name)) {
            $this->_overwrite($_SESSION, Hash::remove($_SESSION, $name));
        }
    }
1199891
public function delete($name){

		try{

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

			return false;
		}

		return $this->_Cache->delete("{$this->_store}:$name");
	}
681408
public function delete($name, $ttl = false) {
        return false === $ttl ?
            $this->handler->delete($name) :
            $this->handler->delete($name, $ttl);
    }
777831
public static function delete($name)
    {
        empty(self::$init) && self::init();

        $session = self::get($name);
        if (is_string($session)) {
            unset($_SESSION[$name]);
        }

        if (is_array($session)) {
            $_SESSION[$name] = [];
        }
        return true;
    }
323697
public static function delete($name, $path = "/") {
		if (isset ( $_COOKIE [$name] )) {
			unset ( $_COOKIE [$name] );
		}
		\setcookie ( $name, "", \time () - 3600, $path );
	}
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;
    }
234368
public function removeAttribute($name)
    {
        if (! $this->has($name)) {
            return false;
        }
        unset($this->attributes[$name]);
        $this->tracker->logDeletion($name);
        return true;
    }