public function main() { try { $runner = new Pearanha_Runner_PearRunner($this->pearConfigFile); $runner->run(array(__FILE__, 'channel-discover', $this->channel)); } catch (Exception $e) { $this->log($e->getMessage()); } }
public function main() { try { $runner = new Pearanha_Runner_PearRunner($this->pearConfigFile); $runner->run(array(__FILE__, 'install', $this->packageName)); } catch (Exception $e) { $this->log($e->getMessage()); } }