public function uninstallPackage(PackageInterface $package, InstallerInterface $installer)
    {
        if (!$this->isPackageInstalled($package)) {
            throw new RuntimeException(sprintf('Package %s is not installed.', $package->getName()));
        }
        $installer->uninstall($package);
    }
public function uninstallPackage(PackageInterface $package, InstallerInterface $installer)
    {
        if (!$this->isPackageInstalled($package)) {
            throw new RuntimeException(sprintf('Package %s is not installed.', $package->getName()));
        }
        $installer->uninstall($package);
    }
public function uninstallPackage ( PackageInterface $ package , InstallerInterface $ installer ) { if ( ! $ this -> isPackageInstalled ( $ package ) ) { throw new RuntimeException ( sprintf ( 'Package %s is not installed.' , $ package -> getName ( ) ) ) ; } $ installer -> uninstall ( $ package ) ; }
Uninstall a single package

@param PackageInterface   $package
@param InstallerInterface $installer
Uninstall a single package