sfelix-martins /
passport-multiauth
| 1 | <?php |
||
| 2 | |||
| 3 | namespace SMartins\PassportMultiauth\Facades; |
||
| 4 | |||
| 5 | use Symfony\Component\HttpFoundation\Request; |
||
| 6 | use Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory; |
||
| 7 | |||
| 8 | class ServerRequest |
||
| 9 | { |
||
| 10 | 12 | public static function createRequest(Request $symfonyRequest) |
|
| 11 | { |
||
| 12 | 12 | return (new DiactorosFactory())->createRequest($symfonyRequest); |
|
|
0 ignored issues
–
show
Deprecated Code
introduced
by
Loading history...
|
|||
| 13 | } |
||
| 14 | } |
||
| 15 |