// initialize not loaded associations with null
if ($field instanceof AssociationField &&
$entity instanceof ArrayEntity
) { $entity->
set($property, null
);
} if ($field instanceof ParentAssociationField
) { continue;
} if ($field instanceof ManyToManyAssociationField
) { $this->
manyToMany($row,
$root,
$entity,
$field);
continue;
} if ($field instanceof ManyToOneAssociationField ||
$field instanceof OneToOneAssociationField
) { $association =
$this->
manyToOne($row,
$root,
$field,
$context);
if ($association === null &&
$entity instanceof PartialEntity
) { continue;
}