doctrine/DoctrineORMModule — pull request #150 by jhuet (2012-12-09 13:46:37+00:00)
Title: Initializing collector by subscribing to ZDT init event

In order to fix #106.

I'm not sure this a very safe way to do it as i request the `serviceManager` in the `Module::init()` method. There is no way to attach to the `provider_init` ZDT event in `onBootstrap()` as it is [triggered](https://github.com/zendframework/ZendDeveloperTools/blob/master/Module.php#L68) in `Module::init()`.

Is there a better way to do this ? Maybe by attaching to a new DoctrineORMModule event that would be triggered in `onBootstrap()` instead of directly accessing the `serviceManager` ? Then in the callback of that new triggered event we would have a fully merged config so that would be safer.