Unset a value within session data.

@param string ...$keys All the keys to remove from the session

@return SessionInterface
420095
public function delete(string ...$keys): SessionInterface
    {
        # Convert the array of keys to key/value pairs
        $keyValues = [];
        foreach ($keys as $key) {
            $keyValues[$key] = null;
        }

        return $this->set($keyValues);
    }
148069
public function removeSessionData($key = null)
    {
        $authSessionRefresh = array();
        foreach ($this->authSessions as $authSession) {
            /* @var $authSession AuthSession */
            if (isset($key) && $key != $authSession->getName()) {
                $authSessionRefresh[] = $authSession;
            }
        }
        $this->authSessions = $authSessionRefresh;
        return $this;
    }
525248
public function remove($key)
    {
        $value = null;

        if ($this->has($key)) {
            $value = $this->data[$key];
            unset($this->data[$key]);
        }

        return $value;
    }
1220196
public function destroy($key = false) {
        if ($key) {
            unset($this->_session->{$key});
        } else {
            $this->_session->unsetAll();
        }
        return $this;
    }
877697
protected function removeFromOldFlashData(array $keys)
        {
            $old_data = $this->session->getValue($this->key_name.'.old');

            if (! is_array($old_data)) {
                $old_data = array();
            }
            $this->session->setValue($this->key_name.'.old', array_diff($old_data, $keys));
        }
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;
    }
906577
public function except($keys)
    {
        $keys = is_array($keys) ? $keys : [$keys];
        $all = $this->all();

        foreach ($keys as $key) {
            if (array_key_exists($key, $all)) {
                unset($all[$key]);
            }
        }

        return $all;
    }
904483
public function remove($key)
    {
        if ($this->isAcceptable($key)) {
            $key = $this->modelKey($key);
        }

        unset($this->objects[$key]);

        return $this;
    }
1228869
public function forget($key)
	{
		if (array_key_exists($key, $this->vars))
		{
			unset($this->vars[$key]);
		}

		return $this;
	}
1097665
public function unsetData($key){

        $key = $this->normalizeKeyName($key);

        if( isset($this->_data[$key]) ){
            $this->_original[$key] = $this->_data[$key];
            $this->_changes[$key] = NULL;
            unset($this->_data[$key]);
        }

        return $this;
    }
1270591
public function deleteMultiple($keys)
	{
		\array_walk($keys, [$this, 'validateKey']);
		$this->namespace && \array_walk($keys, [$this, 'prefixValue']);

		return $this->doDeleteMultiple($keys);
	}
392517
public function delete($key)
    {
        key_exists_or_fail($key, $this->data);
        unset($this->data[$key]);
        $this->data = array_values($this->data);

        return $this;
    }
1312252
public static function remove($key)
		{
			self::_cleanPrevious();

			if(self::is($key))
			{
				unset($_SESSION[self::$_sessionKey.$key]);
				return true;
			}
			else
			{
				return false;
			}
		}
995813
protected function _removeKey($key)
    {
        $keys = $this->get('__stored_keys__', []);
        if (in_array($key, $keys)) {
            $reverse = array_flip($keys);
            unset($reverse[$key]);
            $this->set('__stored_keys__', array_keys($reverse));
        }
        return $this;
    }
791234
public function reset(array $keys)
    {
        foreach ($keys as $key) {
            $this->getSettingOrFail($key);
        }

        $this->backend->removeSettings($keys);
    }
121236
public function exclude($keys)
    {
        if (! is_array($keys)) {
            $keys = func_get_args();
        }

        $this->exclude = array_filter($keys);

        return $this;
    }
152907
public function remove($key): void
    {
        foreach ((array) $key as $key) {
            unset($_SESSION[$this->name][$key]);
        }
    }