Rework element id generation.

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

View File

@@ -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);
}
}
}
}