$formSynchronizer =
new FormSynchronizer($this->em
);
$formSynchronizer->
synchronize($plugin,
$config);
} /**
* @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
*/