esmultivac

Results 1 comments of esmultivac

I don't think this will work with more than one entity managers. Maybe something like this will work better: $metadataFactory = $manager->getMetadataFactory(); if (! $metadataFactory->isTransient($class) || $metadataFactory->hasMetadataFor($class)) { return $manager;...