Removes the session data associated with the provided key.
@param string $key
504352
public function remove(string $key)
    {
        if (isset($_SESSION[$key])) {
            $_SESSION[$key] = '';
            unset($_SESSION[$key]);
        }
    }
81563
public function clear($key)
    {
        $this->cache->forget($key);

        $this->cache->forget($key .':lockout');
    }
1270023
public function unset(string $key)
    {
        if (array_key_exists($key, $this->input)) {
            unset($this->input[$key]);
            unset($this->cache[$key]);
        }

        $item = &$this->input;

        foreach (explode('.', $key) as $segment) {
            if (! isset($item[$segment])) {
                return;
            }
            if (! is_array($item[$segment])) {
                unset($item[$segment]);
                break;
            }
            $item = &$item[$segment];
        }

        unset($this->cache[$key]);
    }
54630
public function remove($key)
    {
        unset($this->_definitions[$key], $this->_singletons[$key]);
        foreach ($this->_aliases as $alias => $akey) {
        	if ($akey === $key) {
        		unset($this->_aliases[$alias]); 
        		break;
        	}
        }
    }
703609
public function unsetData($key = null)
    {
        if ($key === null) {
            $this->data = [];
        }

        if ($key !== null and isset($this->data[$key])) {
            unset($this->data[$key]);
        }
    }
304899
public function remove($key)
    {
        if ($this->has($key)) {
            unset($this->data[$key]);
            return true;
        } else {
            return false;
        }
    }
34376
public function forget($key)
        {
            $cache = $this->db()->select("entity_name = '" . md5($this->_namespace) . "' AND table_name = '" . md5($key) . "'", true);
            if (!empty($cache)) {
                $cache->delete();
            }
        }
544226
public function remove(string $key): void
    {
        if (isset($this->orgData[$key])) {
            if (isset($this->updateAttributes[$key])) {
                unset($this->updateAttributes[$key]);
            }
        } else {
            if (isset($this->addAttributes[$key])) {
                unset($this->addAttributes[$key]);
            }
        }
        $this->removeAttributes[$key] = 0;
    }
81184
function purge( $key ) {
            $this->_logger->entrance( 'key = ' . $key );

            $this->_options->unset_option( $key, true );
        }
772277
public function forget(string $key)
    {
        $cacheKey = $this->cacheKeys[$key] ?? null;
        if (!empty($cacheKey)) {
            Cache::forget($cacheKey);
        }
    }
1203512
public function clear($key) {
        if ($this->exists($key)) {
            unset($this->data[$key]);

            return true;
        }

        return false;
    }
293802
public static function delete($key)
    {
        empty(self::$prefix) && self::$prefix = Config::get('session_prefix');
        if (is_array($key)) {
            foreach ($key as $k) {
                if (isset($_SESSION[self::$prefix . $k])) unset($_SESSION[self::$prefix . $k]);
            }
        } else {
            if (isset($_SESSION[self::$prefix . $key])) unset($_SESSION[self::$prefix . $key]);
        }
        return true;
    }
896905
public function delete($key)
    {
        $file = $this->getFilename($key);
        if (file_exists($file)) {
            unlink($file);
        }
    }
78101
public function delete($key)
	{
		// remove the expiration tracking for this key
		unset($this->data[static::EXPIRE_DATA_KEY][$key]);

		// and delete the key itself
		return parent::delete($this->prefixKey($key));
	}
672704
protected function forget($key)
    {
        $mapping = $this->getMappingForAttribute($key);

        list($target, $attribute) = $this->parseMappedColumn($mapping);

        $target = $target ? $this->getTarget($this, explode('.', $target)) : $this;

        unset($target->{$attribute});
    }
588322
public function forget($key)
        {
            if (File::exists($this->path . $key)) {
                unlink($this->path . $key);
            }
        }
1066297
public function clear($key)
    {
        if (isset($_SESSION[$this->prefix . $key])) {
            unset($_SESSION[$this->prefix . $key]);
        }
    }