You are here

public function HttpMessageFactoryInterface::createResponse in Zircon Profile 8

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

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

Parameters

Response $symfonyResponse:

Return value

ResponseInterface

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

File

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

Class

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

Namespace

Symfony\Bridge\PsrHttpMessage

Code

public function createResponse(Response $symfonyResponse);