public function store(SuiteCollection $collection)
{
foreach ($collection->getSuites() as $suite) {
$path = $this->getPath($suite->getUuid());
if (false === $this->filesystem->exists(dirname($path))) {
$this->filesystem->mkdir(dirname($path));
}
$collection = new SuiteCollection([$suite]);
$dom = $this->xmlEncoder->encode($collection);
$dom->save($path);
}
}