$this->em->
flush($plugin);
return $context;
} /**
* @throws RuntimeException
*/
public function refreshPluginList(DateTimeInterface
$refreshDate) { $initializer =
new PluginInitializer( $this->pdo,
$this->pluginDirectories
);
$plugins =
$initializer->
initializePlugins();
foreach ($plugins as $plugin) { $pluginInfoPath =
$plugin->
getPath() . '/plugin.xml';
if (is_file($pluginInfoPath)) { $xmlConfigReader =
new XmlPluginReader();
$info =
$xmlConfigReader->
read($pluginInfoPath);
}