I read a few posts on this subject, but I'm still wondering if there is a better way to "automatically enter" any service. I mean, if I have a namespace called person services (which includes personalDataService, siblings of DataService, etc.) It would be great if I could do something like this:
services: Person.personalData: class: Main\UserBundle\Services\PersonalDataService arguments: [Person.*] Person.relativesData: class: Main\UserBundle\Services\RelativesataService arguments: [Person.*]
I know you can follow this post , but I'm looking for another โeffectiveโ way.
There is no better way. The best way is the method described in your own post ...
, , , , . , , , , , ... , , , .
, ...