Closed backbone87 closed 6 years ago
I also agree. That would be a nice addition, after support for auto wiring.
One thing though, I am not sure whether this would not introduce a breaking change, so I would rather present a new config entry (‘csa_guzzle.autoconfigure’), which would be set to false in version 3.1.
For version 4.0, the value will be switched to ‘true’, or even removed to enable auto config by default.
the tag would applied to services with autoconfigure="true" only, which is a symfony 3.3/3.4+ feature
I think this can be closed now.
It would be nice if the
ClientInterface
is registered for autoconfiguration (symfony 3.3+)ref https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L280