loadManyToMany example

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

        return $collection;
    }
}
Home | Imprint | This part of the site doesn't use cookies.