cakephp-api icon indicating copy to clipboard operation
cakephp-api copied to clipboard

Dependency Injection inside service actions

Open rudy1976s opened this issue 3 years ago • 0 comments

Is there same way to inject DI inside API Service actions ? Actually the constructor allows only to parent $config. It would be nice to have the possibility of getting the $container in some way to be able to inject services declared in service providers, or by autowire, since it is now available in cake.

rudy1976s avatar Nov 30 '22 08:11 rudy1976s