Rework element id generation.

This commit is contained in:
David Molineus committed 2015-01-09 13:41:09 +01:00
1 parent 37851110b0
commit efb36256c7
12 files changed
+128 -88

No files matched your search

@@ -68,9 +68,11 @@ class GroupLayerMapper extends AbstractLayerMapper
if ($collection) {
foreach ($collection as $layerModel) {
/** @var Layer $layer */
$layer = $mapper->handle($layerModel);
$definition->addLayer($layer);
if ($layer instanceof Layer) {
$definition->addLayer($layer);
}
}
}
}