Can we move this whole block of code into a new service? This adds a hidden dependency to ZendFramework code that is not replaceable. This violates both Single Responsibilty and Dependency Inversion Principle here, not keeping the code against abstract concepts.

I say introduce a ``LazyLoad`` something interface, optionally inject it into the ``ContainerBuilder`` and then use the ProxyManager as one possible implementation there.