/**
* @param string $file
*
* @throws InvalidArgumentException
*/
private function installMenu(Plugin
$plugin,
$file) { $menuReader =
new XmlMenuReader();
$menu =
$menuReader->
read($file);
$menuSynchronizer =
new MenuSynchronizer($this->em
);
$menuSynchronizer->
synchronize($plugin,
$menu);
} /**
* @param string $file
*
* @throws InvalidArgumentException
*/
private function installCronjob(Plugin
$plugin,
$file) { $cronjobReader =
new XmlCronjobReader();