uninstall() public method

public uninstall ( array $uninstall ) : boolean
$uninstall array
return boolean
 /**
  * @Request({"name"}, csrf=true)
  */
 public function uninstallAction($name)
 {
     return App::response()->stream(function () use($name) {
         try {
             $this->manager->uninstall($name);
             echo "\nstatus=success";
         } catch (\Exception $e) {
             printf("%s\nstatus=error", $e->getMessage());
         }
     });
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $updater = new PackageManager($output);
     $updater->uninstall((array) $this->argument('packages'));
 }