if (!
$association instanceof AssociationField
) { continue;
} if ($association instanceof OneToOneAssociationField ||
$association instanceof ManyToOneAssociationField
) { $this->
loadToOne($association,
$context,
$collection,
$criteria,
$partial[$association->
getPropertyName()] ??
[]);
continue;
} if ($association instanceof OneToManyAssociationField
) { $this->
loadOneToMany($criteria,
$definition,
$association,
$context,
$collection,
$partial[$association->
getPropertyName()] ??
[]);
continue;
} if ($association instanceof ManyToManyAssociationField
) { $this->
loadManyToMany($criteria,
$association,
$context,
$collection,
$partial[$association->
getPropertyName()] ??
[]);
} } foreach ($collection as $struct) { $struct->
removeExtension(self::INTERNAL_MAPPING_STORAGE
);
}