First of all. Yes, I know ZF1 is not supported any more, and yes, this question seems to be pointless. Nonetheless I want to ask this question. Maybe some one has done it and remembers.
We are currently refactoring a big old legacy ZF1 application. It has lots of really, really big controllers. We want to refactor it step by step to Zend\Expressive 3. One of the first steps is to add dependency injection in the old controllers to make the dependencies visible. So the question came up if it is possible to add controller factories to a ZF1 application. Me as the ZF1 expert says no and its pointless but the team asked me to clarify.
So, has anyone of you every managed to add controller factories to a ZF1 application? Is this even possible? I guess the only chance would be to build some kind of plugin or something.
I am really curious but I’m afraid it is not possible nor it makes sense even as a refactoring step.