JMSDiExtraBundle
JMSDiExtraBundle copied to clipboard
Bundle controller affected by DIExtraBundle
I have a controller class in a bundle that has explicitly not been included as one of the listed bundles DIExtraBundle should parse, and calls to this controller break because a proxy class (created by DIExtraBundle) is used that does not know about the controller's constructor arguments. Why would this bundle be parsed when I haven't specified that this should happen?
Current config outline:
jms_di_extra:
locations:
all_bundles: false
bundles:
- 'SomeOtherBundle'
Specifically, the bundle in question in this instance is actually the SonataDoctrinePHPCRAdminBundle.
Any pointers?
As we can see from ControllerInjectorsWarmer - all controller files processed.
Is there any chance to solve this issue? It is impossible to use constructor arguments for controllers (when we're using custom service as a controller) right now.
+1 on solving this issue. Having the exact same problem as in #124