We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 488cc66 + 7c95255 commit 9e43b5cCopy full SHA for 9e43b5c
components/http_client.rst
@@ -479,11 +479,11 @@ has a unique service named after its configuration.
479
# ...
480
481
# whenever a service type-hints HttpClientInterface, inject the GitHub client
482
- Symfony\Contracts\HttpClient\HttpClientInterface: '@api_client.github'
+ Symfony\Contracts\HttpClient\HttpClientInterface: '@some_api.client'
483
484
# inject the HTTP client called 'crawler' into this argument of this service
485
App\Some\Service:
486
- $someArgument: '@http_client.crawler'
+ $someArgument: '@crawler.client'
487
488
Testing HTTP Clients and Responses
489
----------------------------------
0 commit comments