Good morning,
I am in the process of upgrading one of my applications from cakephp 4 to cakephp 5.
I’m used to using a Controller named Functions handling different functions that can be used anywhere.
Until now I called the methods like this: (new MyFunctionsController())->function();
However, it seems that with cakephp 5 this is no longer possible. Is this really the case?
Do we have to use services and dependency injections?
In the FR doc, it is marked that it is experimental…
Sincerely,
Alexis