src/Extension/ExtensionManager.php
public function uninstall($name)
    {
        $extension = $this->getExtension($name);

        $this->disable($name);

        $this->migrateDown($extension);

        $this->unpublishAssets($extension);

        $extension->setInstalled(false);

        $this->dispatcher->dispatch(new Uninstalled($extension));
    }
public function uninstall($name)
    {
        $extension = $this->getExtension($name);

        $this->disable($name);

        $this->migrateDown($extension);

        $this->unpublishAssets($extension);

        $extension->setInstalled(false);

        $this->dispatcher->dispatch(new Uninstalled($extension));
    }
public function uninstall ( $ name ) { $ extension = $ this -> getExtension ( $ name ) ; $ this -> disable ( $ name ) ; $ this -> migrateDown ( $ extension ) ; $ this -> unpublishAssets ( $ extension ) ; $ extension -> setInstalled ( false ) ; $ this -> dispatcher -> dispatch ( new Uninstalled ( $ extension ) ) ; }
Uninstalls an extension.

@param string $name
Uninstalls an extension .