@@ -35,9 +35,9 @@ The bridge provides an interface of a factory called
35
35
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
- The following code snippet explain how to convert a :class: `Symfony\\ Component\\ HttpFoundation\\ Request `
39
- to a ``Zend\\ Diactoros\ \ServerRequest `` class implementing the
40
- ``Psr\\ Http\\ Message\ \ServerRequestInterface `` interface::
38
+ The following code snippet explains how to convert a :class: `Symfony\\ Component\\ HttpFoundation\\ Request `
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;
@@ -49,8 +49,8 @@ to a ``Zend\\Diactoros\\ServerRequest`` class implementing the
49
49
$psrRequest = $psr7Factory->createRequest($symfonyRequest);
50
50
51
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::
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,7 +68,7 @@ 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
- ``Psr\\ Http\\ Message\ \ServerRequestInterface `` interface to a
71
+ ``Psr\Http\Message\ServerRequestInterface `` interface to a
72
72
:class: `Symfony\\ Component\\ HttpFoundation\\ Request ` instance::
73
73
74
74
use Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory;
@@ -78,7 +78,7 @@ The next snippet explain how to convert an object implementing the
78
78
$httpFoundationFactory = new HttpFoundationFactory();
79
79
$symfonyRequest = $httpFoundationFactory->createRequest($psrRequest);
80
80
81
- From an object implementing the ``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