10000 minor #18481 [HttpClient] Add a note about requirement to use URI tem… · symfony/symfony-docs@56a41b3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 56a41b3

Browse files
committed
minor #18481 [HttpClient] Add a note about requirement to use URI templates (clement-michelet)
This PR was merged into the 6.3 branch. Discussion ---------- [HttpClient] Add a note about requirement to use URI templates Closes #18480 <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 40c513d [HttpClient] Add a note about requirement to use URI templates
2 parents b0b7276 + 40c513d commit 56a41b3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

http_client.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -946,6 +946,11 @@ If you want to define your own logic to handle variables of URI templates, you
946946
can do so by redefining the ``http_client.uri_template_expander`` alias. Your
947947
service must be invokable.
948948

949+
.. note::
950+
951+
Support for URI template requires a vendor or to pass your own expander
952+
``\Closure`` implementation to expand the URI.
953+
949954
.. versionadded:: 6.3
950955

951956
The :class:`Symfony\\Component\\HttpClient\\UriTemplateHttpClient` was

0 commit comments

Comments
 (0)
0