src/PluginInteractor.php
public function uninstall(Composer $composer, IOInterface $io, $pluginName)
    {
        $plugin = $this->prepare(__FUNCTION__, $composer, $io, $pluginName);
        
        if ($plugin) {
            $result = $this->wp(function () use ($plugin) {
                return uninstall_plugin($plugin);
            });
            
            $this->succeeded(__FUNCTION__, $pluginName, $result === true || $result === null);
        }
    }
public function uninstall(Composer $composer, IOInterface $io, $pluginName)
    {
        $plugin = $this->prepare(__FUNCTION__, $composer, $io, $pluginName);
        
        if ($plugin) {
            $result = $this->wp(function () use ($plugin) {
                return uninstall_plugin($plugin);
            });
            
            $this->succeeded(__FUNCTION__, $pluginName, $result === true || $result === null);
        }
    }
public function uninstall ( Composer $ composer , IOInterface $ io , $ pluginName ) { $ plugin = $ this -> prepare ( __FUNCTION__ , $ composer , $ io , $ pluginName ) ; if ( $ plugin ) { $ result = $ this -> wp ( function ( ) use ( $ plugin ) { return uninstall_plugin ( $ plugin ) ; } ) ; $ this -> succeeded ( __FUNCTION__ , $ pluginName , $ result === true || $ result === null ) ; } }
Uninstall a plugin.

@param  \Composer\Composer  $composer
@param  \Composer\IO\IOInterface  $io
@param  string  $plugin
@return void
Uninstall a plugin .