I haven't worked with multiple entity managers until now. What would you suggest as the best way to inject the entity manager of an object, when you want to support multiple entity managers?

Injecting the Doctrine object and then do `$doctrine->getEntityManagerForClass($class);` ?