This an Interview Question
👷♀️ Service: A class that you pass data to and get something in return or ask to do some work.
⚡ Provider: A class used to bootstrap the service, i.e. prepare it, read some config or bind an implementation.
Code example 👇
Top comments (2)
Nice explanation , i love the example
Thanks buddy, hope you liked it!