Top Categories
Symfony tutorial: Services
- Category: Information Technology
- Sub Category: Web Development
This video goes through and example on using services along with explaining what is a service in symfony 3, how to access a service directly from the container and also by type-hinting the arguments.
One thing i forgot to talk about in the video is "Why use a service?", two reasons for that the fir
This video goes through and example on using services along with explaining what is a service in symfony 3, how to access a service directly from the container and also by type-hinting the arguments.
One thing i forgot to talk about in the video is "Why use a service?", two reasons for that the first one is reusability as you can see on the video, and another important thing is Unit Test, you can actually test your service and you can't do that in the controller.
Timestamps:
Setting up the example: 00:00
Services: 17:00