You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: