Removes a variable from the session.

@param mixed $name Variable name.
19209
public function deleteByKey($name) : void
    {
        if(!$this->keyExists($name)) {
            return;
        }

        parent::deleteByKey($name);
        unset($_SESSION[$name]);
    }
149525
protected function unsetReadonlyProperty(string $name): void
    {
        if ($this->issetReadonlyProperty($name)) {
            unset($this->readonlyValues[$name]);
        }
    }
38218
public function remove($name = null)
    {
        $list = self::$_postTypes;
        
        unset($list[$name]);
        
        if (!$name) {
            $list = null;
        }
        
        self::$_postTypes = $list;
    }
211062
public static function RemovePost ($name) {
		if (static::HasClassVar('_post', $name)) {
			static::RemoveClassVar('_post', $name);
		}
		if (Arrays::ExistsLowest($_POST, $name)) {
			Arrays::RemoveLowest($_POST, $name);
		}
	}
477099
public function deleteObject($name)
    {
        if (is_object($name) && $name instanceof Object) {
            $name = $name->getName();
        }

        $this->connection->makeRequest(Client::DELETE, array($this->name, $name));
    }
584723
public function remove(string $name): void
    {
        if ($this->has($name)) {
            unset($this->factories[$name]);
        }
    }
1112543
protected function _unsetVar($name)
    {
        $store = $this->_getVariableStore();

        if ($store instanceof \Zend_Session_Namespace) {
            $store->__unset($name);
        } else {
            if ($store->offsetExists($name)) {
                $store->offsetUnset($name);
            }
        }
    }
1030810
public function remove(string $name) : bool
    {
        $key = $this->makeCacheKey($name);
        
        $this->cache->forget($key);
        
        unset($this->jobs[$name]);
    }
871279
public function removeResource ($name)
	{
		
		if (isset ($this->resources[$name]))
		{
			
			unset ($this->resources[$name]);
			
			if (isset ($this->$name))
			{
				unset ($this->$name);
			}
				
		}
		
	}
1022595
public function removeAttributeValue($name){
        if(isset($this->attributes[$name])){
            $this->attributes[$name]->setNull();
        }
    }
375781
public static function RemoveParameter ($name) {
		if (static::HasClassVar('_get', $name)) {
			static::RemoveClassVar('_get', $name);
		}
		if (Arrays::ExistsLowest($_GET, $name)) {
			Arrays::RemoveLowest($_GET, $name);
		}
	}
28008
protected function removeHeader(string $name)
    {
        $normalized = strtolower($name);

        if (isset($this->headerNameMap[$normalized])) {
            $name = $this->headerNameMap[$normalized];
            unset($this->headers[$name], $this->headerNameMap[$normalized]);
        }
    }
312564
public function remove($name)
    {
        unset($this->treated[$name]);
        unset($this->services[$name]);
        unset($this->parameters[$name]);
    }
558770
public function remove($name)
    {
        unset($this->_definitions[$name], $this->_instances[$name], $this->{$name});

        return $this;
    }
915253
public function unsetVariable($name)
    {
        $retval = false;

        if (array_key_exists($name, $_SESSION)) {
            unset($_SESSION[$name]);
            $retval = true;
        }

        return $retval;
    }
939410
public function unset_var($name)
    {
        // Check if variable exists
        foreach ($this->vars as $idx => $var) {
            if ($var['name'] == $name) {
                unset($this->vars[$idx]);
                break;
            }
        }
    }
516121
public function remove($name)
    {
        if ($this->rootModule && $name === $this->rootModule->getName()) {
            $this->rootModule = null;
        }

        unset($this->modules[$name]);
    }