Skip to content

Commit 02ca572

Browse files
committed
[symfony#7204] link to API doc
1 parent 193968c commit 02ca572

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/http_foundation.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,8 @@ class, which can make this even easier::
560560
$response = JsonResponse::fromJsonString('{ "data": 123 }');
561561

562562
.. versionadded:: 3.2
563-
The ``JsonResponse::fromJsonString()`` method was added in Symfony 3.2.
563+
The :method:`Symfony\\Component\\HttpFoundation\\JsonResponse::fromJsonString`
564+
method was added in Symfony 3.2.
564565

565566
The ``JsonResponse`` class sets the ``Content-Type`` header to
566567
``application/json`` and encodes your data to JSON when needed.

0 commit comments

Comments
 (0)