I have a need to create an extension to the Url view helper but also have the Url view helper functionality available to me. Using a delegator factory does not work. I have spoken with @ocramius on IRC about this.
See: https://gist.github.com/shipleyr/6712429 for the code I'm using.
The problem is that a delegator service factory cannot pass the validatePlugin step. A quickfix consists in instantiating it on-the-fly if it is not defined as a service
With the URL helper this is not really possible as it has configuration steps (injecting the route match object for example) which would need duplicating if it was instantiated directly.
so none of the provided plugin managers can handle delegators since delegator factories are treated like plugin themselves, which they're obviously not. is that right?
Merge branch 'hotfix/5175'