Skip to content

Commit 4bcf0a0

Browse files
[HttpClient] Add a note about requirement to use URI templates
Closes #18480
1 parent b88e4d7 commit 4bcf0a0

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+
:class:`\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)