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.
1 parent 524881b commit 0f4f64eCopy full SHA for 0f4f64e
components/http_client.rst
@@ -483,11 +483,11 @@ has a unique service named after its configuration.
483
# ...
484
485
# whenever a service type-hints HttpClientInterface, inject the GitHub client
486
- Symfony\Contracts\HttpClient\HttpClientInterface: '@api_client.github'
+ Symfony\Contracts\HttpClient\HttpClientInterface: '@some_api.client'
487
488
# inject the HTTP client called 'crawler' into this argument of this service
489
App\Some\Service:
490
- $someArgument: '@http_client.crawler'
+ $someArgument: '@crawler.client'
491
492
Testing HTTP Clients and Responses
493
----------------------------------
0 commit comments