Clears a secret key entry from the current cookie.

@param string $keyname  The name of the key to clear.

@return boolean  True if key existed, false if not.
541646
public function clearKey($keyname = self::DEFAULT_KEY)
    {
        if (isset($_COOKIE[$this->_params['session_name']]) &&
            isset($_COOKIE[$keyname . '_key'])) {
            $this->_setCookie($keyname, false);
            return true;
        }

        return false;
    }
19379
public function setHeader($keyName, $value)
    {
        $normalizedKeyName = self::normalizeHeaderKeyName($keyName);
        $this->headers[$normalizedKeyName] = $value;
    }
102863
public function getConfig($keyName = null)
    {
        if (null === $keyName) {
            return $this->config;
        } elseif (isset($this->config[$keyName])) {
            return $this->config[$keyName];
        } else {
            return null;
        }
    }
323866
public function remove($key)
    {
        if ($this->has($key)) {
            unset($this->session[$key]);
            return true;
        } else {
            return false;
        }
    }
119032
public static function remove($key)
    {
        $old = null;

        if (!static::has($key)) {
            return $old;
        }

        if (!static::$is_decrypt[$key]) {
            $old = Crypto::decrypt($_COOKIE[$key]);

            unset(static::$is_decrypt[$key]);
        }

        static::add($key, null, -1000);
        unset($_COOKIE[$key]);

        return $old;
    }
163097
public function propertyValue(&$value, $keyName = null) {
$values = array();

if ($keyName !== null) $this->env->currentProperty = $keyName;

$s = null;
while ($this->expressionList($v)) {
$values[] = $v;
$s = $this->seek();
if (!$this->literal(',')) break;
}

if ($s) $this->seek($s);

if ($keyName !== null) unset($this->env->currentProperty);

if (count($values) == 0) return false;

$value = \ATPCore\Lessc::compressList($values, ', ');
return true;
}
1359652
protected function clearRemoval($key)
    {
        if (false === $this->willRemove($key)) {
            return $this;
        }
        $key = array_search($key, $this->remove);
        unset($this->remove[$key]);
        $this->remove = array_values($this->remove);
        return $this;
    }
444617
public function clearCookie($key = null)
    {
        if (!$this->_cookie) {
            $this->_cookie = new Cookie();
            $this->_cookie->setVitex(Vitex::getInstance());
        }
        $this->_cookie->clearCookie($key);
        return $this;
    }
619530
public function delete($key)
    {
        if ($this->has($key)) {
            unset($this->registry[$key]);
            return true;
        }
        return false;
    }
1033584
public function clearCookie()
    {

        $triplet = Triplet::fromString($this->cookie->getValue());

        $this->cookie->deleteCookie();

        if (!$triplet->isValid()) {
            return false;
        }

        $this->storage->cleanTriplet($triplet->getCredential(), $triplet->getSaltedPersistentToken($this->salt));

        return true;
    }
1145138
public function setKeyName($keyName)
    {
        $this->keyName     = (string)$keyName;
        $this->keyCode     = null;
        $this->charPressed = null;
        return $this;
    }
22821
public function remove($key)
    {
        if (array_key_exists($key, $this->settings)) {
            unset($this->settings[$key]);
            return true;
        }
        return false;
    }
304899
public function remove($key)
    {
        if ($this->has($key)) {
            unset($this->data[$key]);
            return true;
        } else {
            return false;
        }
    }
843904
public function delete($cookieName)
    {
        $cookie = $this->cookie->forget($cookieName);
        $this->cookie->queue($cookie);

        return true;
    }
1221018
public function exist($keyName) : bool
    {
        # double check
        return
            $this->get($keyName, true) !== true
            && $this->get($keyName, false) !== false;
    }
287568
public function clearCookie($key)
    {
        $this->cookieJar->clear($key);

        return $this->withCookieParams($this->cookieJar->all());
    }
125802
public function removeCookieItem($key)
    {
        if (isset($this->cookie[$key])) {
            unset($this->cookie[$key]);
            return true;
        } else {
            return false;
        }
    }