You are here

public function HttpMessageFactoryInterface::createRequest in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/psr-http-message-bridge/HttpMessageFactoryInterface.php \Symfony\Bridge\PsrHttpMessage\HttpMessageFactoryInterface::createRequest()

Creates a PSR-7 Request instance from a Symfony one.

Parameters

Request $symfonyRequest:

Return value

ServerRequestInterface

1 method overrides HttpMessageFactoryInterface::createRequest()
DiactorosFactory::createRequest in vendor/symfony/psr-http-message-bridge/Factory/DiactorosFactory.php
Creates a PSR-7 Request instance from a Symfony one.

File

vendor/symfony/psr-http-message-bridge/HttpMessageFactoryInterface.php, line 33

Class

HttpMessageFactoryInterface
Creates PSR HTTP Request and Response instances from Symfony ones.

Namespace

Symfony\Bridge\PsrHttpMessage

Code

public function createRequest(Request $symfonyRequest);