code: public function uninstall(RepositoryInterface $repo, UninstallOperation $operation)
      {
          $package = $operation->getPackage();
          $installer = $this->getInstaller($package->getType());
          $installer->uninstall($repo, $package);
      }
docs: Uninstalls package.
  
  @param RepositoryInterface $repo      repository in which to check
  @param UninstallOperation  $operation operation instance