Exemple #1
0
 /**
  * Remove packages from the root install.
  *
  * @param $packages array Indexed array of package names to remove
  *
  * @return integer 0 on success or a positive error code on failure
  */
 public function removePackage(array $packages)
 {
     if (!$this->remove) {
         $this->remove = new RemovePackage($this->app);
     }
     // 0 on success or a positive error code on failure
     return $this->remove->execute($packages);
 }
Exemple #2
0
 public function tearDown()
 {
     $app = $this->getApp();
     $action = new RemovePackage($app);
     $action->execute(array('gawain/clippy'));
 }