Sync: handle 'import' property on creation

This commit is contained in:
Thomas Gelf 2015-08-03 15:12:46 +02:00
parent 9279e01c89
commit 0aae476498
1 changed files with 4 additions and 0 deletions

View File

@ -145,6 +145,10 @@ class Sync
foreach ($newVars as $prop => $var) {
$objects[$key]->vars()->$prop = $var;
}
if (! empty($imports)) {
$objects[$key]->imports()->set($imports);
}
}
}