I have a basic core of data that I'm inserting in a migration, and using fixtures to insert additional data for development. How do I access existing data in the database for setting in relationships? I've tried $manager->find($class,$id), createquerybuilder, injecting an EntityManagerInterface and using that connection with a querybuilder, and ManagerRegistry all giving null when the data exists.
I have a basic core of data that I'm inserting in a migration, and using fixtures to insert additional data for development. How do I access existing data in the database for setting in relationships? I've tried $manager->find($class,$id), createquerybuilder, injecting an EntityManagerInterface and using that connection with a querybuilder, and ManagerRegistry all giving null when the data exists.