doctrine2 - Working with Entity Manager from other bundle -


i have application serves central hub multiple other applications.

so vendor folder contains bundles, main bundles other applications.

now central application want load page 1 of these main bundles.

the problem default entity manager used in these main bundles. loaded in central app, should use non-default manager (which has been configured in config.yml)

how tell these main bundles use corresponding entity manager?


Comments

Popular posts from this blog

c++ - What's the differece between of link to a dynamic file and as a input object? -

javascript - Feed FileReader from server side files -

Android Unit Testing / Mockito: android.location.Location not mocked -