Remove plugin

@param string $name
@return \pwf\basic\Application
12804
public function detachPlugin($name)
    {
        $this->plugins[$name]->unregister();
        unset($this->plugins[$name]);
        return $this;
    }
188658
public function removeMetadatum($name)
	{
		if (isset($this->metadata[$name]))
		{
			unset($this->metadata[$name]);
		}

		return $this;
	}
1311986
public function removeProperty($name)
    {
        if ($this->isConnected())
        {
            $column = $this->getTable()->getColumn($name);

            if (isset($column) && $column->required) {
                $this->setProperty($name, $column->default);
            }
            else
            {
                parent::offsetUnset($name);
                unset($this->_modified[$name]);
            }
        }

        return $this;
    }
1271619
public function removeTable(string $name){

            $status = unlink($file = $this->base . '/' . $name . '.json');
            
            return new \NonDB\Components\Status($status);

        }
44960
public function remove($name)
    {
        $removed = false;
        if ($this->has($name)) {
            unset($this->_inputs[$name]);
            $removed = true;
        }
        return $removed;
    }
154028
public function unregisterFunction($name)
    {
        if(isset($this->_functions[$name])) {
            unset($this->_functions[$name]);
        }

        return $this;
    }
63861
public function deactivate($name)
    {
        $name = Container::get('hooks')->fire('model.plugin.deactivate.name', $name);
        $activePlugins = $this->manager->getActivePlugins();

        // Check if plugin is actually activated
        if (($k = array_search($name, $activePlugins)) !== false) {
            $plugin = DB::forTable('plugins')->where('name', $name)->find_one();
            if (!$plugin) {
                $plugin = DB::forTable('plugins')->create()->set('name', $name);
            }
            $plugin->set('active', 0);

            // Allow additionnal deactivate functions
            $this->manager->deactivate($name);

            $plugin = Container::get('hooks')->fireDB('model.plugin.deactivate', $plugin);
            $plugin->save();

            $this->manager->setActivePlugins();

            return $plugin;
        }
        return true;
    }
350937
public static function getPlugin(string $name)
    {
        if (isset(self::$plugins[$name])) {
            return self::$plugins[$name];
        }
        $class = '\\sdopx\\plugin\\' . Utils::toCamel($name) . 'Plugin';
        if (class_exists($class)) {
            self::$plugins[$name] = new $class();
            return self::$plugins[$name];
        }
        return null;
    }
247604
public function removeExtension($name)
    {
        if (isset($this->extensions[$name])) {
            unset($this->extensions[$name]);
        }

        return $this;
    }
104621
public function removeParam(string $name): self
    {
        $this->parsedUri->queryString()->removeParam($name);
        return $this;
    }
378293
public function remove($name)
    {
        try {
            $this->fs->remove($this->rootPath . DIRECTORY_SEPARATOR . 'www' . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . $name);
        } catch (IOException $e) {
            throw new RuntimeException(
                sprintf('Unable to remove assets for plugin %s', $name), $e->getCode(), $e
            );
        }
    }
481924
public function removeProperty($name)
    {
        if($row = $this->getIterator()->current()) {
            $row->removeProperty($name);
        }

        return $this;
    }
365328
public function removeBuilder($name)
    {
        unset(
            $this->builderMustExist($name)->builders[$name],
            $this->post_configurations[$name]
        );

        return $this;
    }
570922
public function removeDirective($name)
    {
        $name = strtolower(trim($name));
        unset($this->directives[$name]);
        return $this;
    }
1006415
public function removeType($name): Endpoint
    {
        if ($this->hasType($name)) {
            $type = $this->getType($name);
            if ($type instanceof InterfaceDefinition) {
                unset($this->interfaces[$type->getName()]);
            }
        }

        unset($this->types[$name]);
        if (isset($this->typeMap[$name])) {
            unset($this->typeMap[$name]);
        }

        return $this;
    }
964420
public function remove($name)
    {
        //argument 1 must be a string
        Argument::i()->test(1, 'string');

        $this->set($name, null, time() - 3600);

        unset($_COOKIE[$name]);

        return $this;
    }
312564
public function remove($name)
    {
        unset($this->treated[$name]);
        unset($this->services[$name]);
        unset($this->parameters[$name]);
    }