debesha / DoctrineProfileExtraBundle

Bundle to get information about doctrine hydration performance
MIT License
123 stars 16 forks source link

Support multiple entity managers #33

Closed NanoSector closed 3 days ago

NanoSector commented 3 days ago

Injecting the ManagerRegistry gives us access to the entire set of entity managers; this means we can loop through them and collect all available data.

In projects with multiple entity managers, currently only the first entity manager will be used for data collection, which gives an incomplete picture of the total hydration work done.