Why Nostr? What is Njump?
2024-07-18 04:56:08
in reply to

Eric P on Nostr: And actually with IoC, you don't even need to request it. You just need to have your ...

And actually with IoC, you don't even need to request it. You just need to have your controller function list the API class as a parameter and Laravel is smart enough to use the AppServiceProvider logic to instantiate the class and send it to your function.

https://dev.to/fhsinchy/laravel-service-container-and-service-providers-explained-5a1
Author Public Key
npub1z6g2q9jtj3zg8598lzcq2dgffgjprx9nljax0gzxzp3r3jjwa6pq20amwj