(eg: Winter.Blog)}'; /** * @var string The console command description. */ protected $description = 'Disable an existing plugin.'; /** * Execute the console command. * @return void */ public function handle() { $pluginName = $this->getPluginIdentifier(); $pluginManager = PluginManager::instance(); // Disable this plugin $pluginManager->disablePlugin($pluginName); $this->output->writeln(sprintf('%s: disabled.', $pluginName)); } }