Unloads config instance.

@param string $name Config name

@return null
169430
public static function clearInstance($name)
  {
    $key = self::_instanceKey($name);
    
    if (isset(self::$_instances[$key])) {
      unset(self::$_instances[$key]);
    }
  }
800297
public function remove($name)
    {
        //argument 1 must be a string
        Argument::i()->test(1, 'string');

        if (isset($_SESSION[$name])) {
            unset($_SESSION[$name]);
        }

        return $this;
    }
856376
public static function dropConnection($name=null)
	{
		if (isset(self::$connections[$name]))
			unset(self::$connections[$name]);
	}
518573
public function remove($name)
    {
        $this->requireNames();
        
        $lower = strtolower($name);
        if(array_key_exists($lower, $this->names)) {
            $name = $this->names[$lower];
            unset($this->names[$lower]);
            unset($this->headers[$name]);
        }
    }
1344060
public static function remove($name)
    {
        exception_if(!static::exists($name), SessionKeyNotFoundException::class, $name);
        //
        static::$register[$name] = null;

        static::save();

        return true;
    }
309343
public function removeGetParameter($name)
    {
        if (isset($this->getParams[$name]))
        {
            unset($this->getParams[$name]);
            return true;
        }
        else return false;
    }
688517
public function uninstall($name)
    {
        $name = Container::get('hooks')->fire('model.plugin.uninstall.name', $name);
        $activePlugins = $this->manager->getActivePlugins();

        // Check if plugin is disabled, for security
        if (!in_array($name, $activePlugins)) {
            $plugin = DB::forTable('plugins')->where('name', $name)->find_one();

            if ($plugin) {
                $plugin->delete();
            }

            // Allow additional uninstalling functions
            $this->manager->uninstall($name);

            if (file_exists(ForumEnv::get('FORUM_ROOT').'plugins'.DIRECTORY_SEPARATOR.$name)) {
                AdminUtils::deleteFolder(ForumEnv::get('FORUM_ROOT').'plugins'.DIRECTORY_SEPARATOR.$name);
            }

            $this->manager->setActivePlugins();
        }
        return true;
    }
1297792
public function unregister($name)
    {
        unset($this->handlers[$name]);

        if ($name === $this->selectedHandler) {
            reset($this->handlers);
            $this->selectedHandler = key($this->handlers);
        }
    }
729762
public function get_config($name)
	{
		return isset($this->config[$name]) ? $this->config[$name] : null;
	}
1064507
public function disconnect($name)
    {
        if (isset($this->pdoArray[$name])) {
            $pdo    = $this->pdoArray[$name];
            if ($this->activePdo == $pdo) {
                $this->activePdo = null;
            }

            unset($this->pdoArray[$name]);
        }
    }
232916
public static function delete($name)
    {
        !isset(self::$init) && self::init();

        setcookie(
            $name, '', $_SERVER['REQUEST_TIME'] - 3600, self::$config['path'],
            self::$config['domain'], self::$config['secure']
        );

        unset($_COOKIE[$name]);
    }
1155036
public static function close($config_name)
    {
        if (isset(self::$instance[$config_name])) {
            self::$instance[$config_name]->closeConnection();
            self::$instance[$config_name] = null;
        }
    }
1002811
public function configure($name)
    {
        if (isset($this->loadedConfigurations[$name])) {
            return;
        }

        $this->loadedConfigurations[$name] = true;

        $path = $this->getConfigurationPath($name);

        if (! \is_null($path)) {
            $this->make('config')->set(Arr::dot([
                $name => require $path,
            ]));
        }
    }
133677
public function loadConfig($name)
    {
        // only if config not yet exists
        if (!$this->configExists($name))
            $this->config[$name] = $this->getConfigObjectFromDatabase($name);
    }
786276
public function flushOption(string $name): Configurator
    {
        $this->validateName($name);

        if ($this->hasOption($name)) {
            unset($this->config[$name]);
        }

        return $this;
    }
584723
public function remove(string $name): void
    {
        if ($this->has($name)) {
            unset($this->factories[$name]);
        }
    }
1102441
public function offsetUnset($name)
    {
        if (is_int($name)) {
            parent::offsetUnset($name);
            // @codeCoverageIgnoreStart
            // This will never be reached, because an exception is always
            // thrown.
            return;
            // @codeCoverageIgnoreEnd
        }

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