I\'m building a site that relies quite heavily on a third party API so I thought it would make sense to package up the API wrapper as a service, however I\'m starting to fin
I would wrap this kind of behavior in a Symfony service(like a manager). i would not inject any parameters or logic into the entity repositories, as they should mainly be used to fetch data using object manager queries. I would put the logic in the services and if the service , require a database access it will call the entity repository to fetch data.