$this->snippetHandler->
loadToDatabase($bootstrap->
getPath() . '/Resources/snippets/'
);
} /**
* @param string $file
*
* @throws Exception
*/
private function installForm(Plugin
$plugin,
$file) { $xmlConfigReader =
new XmlConfigReader();
$config =
$xmlConfigReader->
read($file);
$formSynchronizer =
new FormSynchronizer($this->em
);
$formSynchronizer->
synchronize($plugin,
$config);
} /**
* @param string $file
*
* @throws InvalidArgumentException
*/