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.
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.