Closed
Description
Description
The docs says:
NOTE
If you don't install the ProxyManager bridge and the ocramius/proxy-manager, the container will just skip over the lazy flag and simply instantiate the service as it would normally do.
This detail is vital to the functionality of lazy services (which might be yours or 3rd-party bundles', relying on it for specific features) and having it silently not working is confusing at best.
I propose DI raises a build-time warning for each lazy=true
service if the bridge is not present.