8000 minor #9810 Fixed URLs to APIs outside of the Symfony project (javier… · symfony/symfony-docs@534bdc5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 534bdc5

Browse files
committed
minor #9810 Fixed URLs to APIs outside of the Symfony project (javiereguiluz)
This PR was merged into the 2.7 branch. Discussion ---------- Fixed URLs to APIs outside of the Symfony project As explained in #9732, any `:class:` or `:method:` directive that points to classes outside of the `Symfony\` namespace will result in 404 errors. I'll fix the other occurrences of these errors in the upper branches too while merging. Commits ------- 4612bd2 Fixed URLs to APIs outside of the Symfony project
2 parents fc2cab5 + 4612bd2 commit 534bdc5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

components/psr7.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ that builds objects implementing PSR-7 interfaces from HttpFoundation objects.
3636
It also provide a default implementation using Zend Diactoros internally.
3737

3838
The following code snippet explain how to convert a :class:`Symfony\\Component\\HttpFoundation\\Request`
39-
to a Zend Diactoros :class:`Zend\\Diactoros\\ServerRequest` implementing the
40-
:class:`Psr\\Http\\Message\\ServerRequestInterface` interface::
39+
to a ``Zend\\Diactoros\\ServerRequest`` class implementing the
40+
``Psr\\Http\\Message\\ServerRequestInterface`` interface::
4141

4242
use Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory;
4343
use Symfony\Component\HttpFoundation\Request;
@@ -48,9 +48,9 @@ to a Zend Diactoros :class:`Zend\\Diactoros\\ServerRequest` implementing the
4848
$psr7Factory = new DiactorosFactory();
4949
$psrRequest = $psr7Factory->createRequest($symfonyRequest);
5050

51-
And now from a :class:`Symfony\\Component\\HttpFoundation\\Response` to a Zend
52-
Diactoros :class:`Zend\\Diactoros\\Response` implementing the :class:`Psr\\Http\\Message\\ResponseInterface`
53-
interface::
51+
And now from a :class:`Symfony\\Component\\HttpFoundation\\Response` to a
52+
``Zend\\Diactoros\\Response`` class implementing the
53+
``Psr\\Http\\Message\\ResponseInterface`` interface::
5454

5555
use Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory;
5656
use Symfony\Component\HttpFoundation\Response;
@@ -68,8 +68,8 @@ On the other hand, the bridge provide a factory interface called
6868
that builds HttpFoundation objects from objects implementing PSR-7 interfaces.
6969

7070
The next snippet explain how to convert an object implementing the
71-
:class:`Psr\\Http\\Message\\ServerRequestInterface`
72-
interface to a :class:`Symfony\\Component\\HttpFoundation\\Request` instance::
71+
``Psr\\Http\\Message\\ServerRequestInterface`` interface to a
72+
:class:`Symfony\\Component\\HttpFoundation\\Request` instance::
7373

7474
use Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory;
7575

@@ -78,7 +78,7 @@ interface to a :class:`Symfony\\Component\\HttpFoundation\\Request` instance::
7878
$httpFoundationFactory = new HttpFoundationFactory();
7979
$symfonyRequest = $httpFoundationFactory->createRequest($psrRequest);
8080

81-
From an object implementing the :class:`Psr\\Http\\Message\\ResponseInterface`
81+
From an object implementing the ``Psr\\Http\\Message\\ResponseInterface``
8282
to a :class:`Symfony\\Component\\HttpFoundation\\Response` instance::
8383

8484
use Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory;

0 commit comments

Comments
 (0)
0