@@ -36,8 +36,8 @@ that builds objects implementing PSR-7 interfaces from HttpFoundation objects.
36
36
It also provide a default implementation using Zend Diactoros internally.
37
37
38
38
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::
41
41
42
42
use Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory;
43
43
use Symfony\Component\HttpFoundation\Request;
@@ -48,9 +48,9 @@ to a Zend Diactoros :class:`Zend\\Diactoros\\ServerRequest` implementing the
48
48
$psr7Factory = new DiactorosFactory();
49
49
$psrRequest = $psr7Factory->createRequest($symfonyRequest);
50
50
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::
54
54
55
55
use Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory;
56
56
use Symfony\Component\HttpFoundation\Response;
@@ -68,8 +68,8 @@ On the other hand, the bridge provide a factory interface called
68
68
that builds HttpFoundation objects from objects implementing PSR-7 interfaces.
69
69
70
70
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::
73
73
74
74
use Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory;
75
75
@@ -78,7 +78,7 @@ interface to a :class:`Symfony\\Component\\HttpFoundation\\Request` instance::
78
78
$httpFoundationFactory = new HttpFoundationFactory();
79
79
$symfonyRequest = $httpFoundationFactory->createRequest($psrRequest);
80
80
81
- From an object implementing the :class: ` Psr\\ Http\\ Message\\ ResponseInterface `
81
+ From an object implementing the `` Psr\\Http\\Message\\ResponseInterface ` `
82
82
to a :class: `Symfony\\ Component\\ HttpFoundation\\ Response ` instance::
83
83
84
84
use Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory;
0 commit comments