public function uninstallAction() { $plugin = $this->pluginManager->getPlugin($this->params('id')); if (!$plugin) { return $this->notFoundAction(); } $this->pluginManager->uninstall($plugin); return $this->redirect()->toRoute('admin/system/plugins'); }
public function fetchAll($params = array()) { $adapter = new ArrayAdapter($this->pluginManager->getPlugins()); return new PluginCollection($adapter); }