Closed
Description
I'm curious what your intention of this bundle is. I know it has been a while since this was updated and your focus are on the libraries. At the moment this bundle creates services for the client and factories. It means that it is only good for dependency injection. Is it any other wins atm?
I had an idea of actually be implementation specific here. The bundle config could allow you to configure clients and make sure to create services for a configured client. Example:
httplug:
clients:
acme:
adapter: guzzle6
timeout: 2
verify_ssl: false
services:
linkedin:
class: Happyr\LinkedIn\LinkedIn
arguments: ["@httplug.acme"]
What do you think? Would you accept a pr implementing this?
Metadata
Metadata
Assignees
Labels
No labels