This commit is contained in:
Dennis Eichhorn 2017-02-19 21:02:21 +01:00
parent 8906406ab7
commit b04f2f0577

View File

@ -1452,6 +1452,10 @@ class DataMapperAbstract implements DataMapperInterface
}
$obj[$value] = self::populate(self::getRaw($value), $toFill);
if(method_exists($obj[$value], 'initialize')) {
$obj[$value]->initialize();
}
}
self::fillRelations($obj, $relations);