public function getPlugin($pluginId)
{
return $this->plugins->get($pluginId);
}
public function show($pluginId, PluginHandler $handler, PluginProvider $provider) { // refresh plugin cache $handler->getAllPlugins(true); $componentTypes = $this->getComponentTypes(); $plugin = $handler->getPlugin($pluginId); $provider->sync($plugin); return XePresenter::make('show', compact('plugin', 'componentTypes')); }