In my case I'm using symfony and have one doubt, when you need to pass tome services/parameters to a service and you have for example more than 10, it's better to pass by constructor or by and add or set method?
I have so many parameters because i have a base controller, that extends all my controllers, and all controllers are declared as service.
No responses yet.