$this->pluginLifecycleService->
uninstallPlugin($plugin,
$context,
$keepUserData);
++
$uninstalledPluginCount;
$io->
text(sprintf('Plugin "%s" has been uninstalled successfully.',
$plugin->
getName()));
} if ($uninstalledPluginCount !== 0
) { $io->
success(sprintf('Uninstalled %d plugins.',
$uninstalledPluginCount));
} $this->
handleClearCacheOption($input,
$io, 'uninstalling'
);
return self::SUCCESS;
}}