function HttpMessageFactoryInterface::createResponse
Creates a PSR-7 Response instance from a Symfony one.
1 method overrides HttpMessageFactoryInterface::createResponse()
- PsrHttpFactory::createResponse in vendor/
symfony/ psr-http-message-bridge/ Factory/ PsrHttpFactory.php - Creates a PSR-7 Response instance from a Symfony one.
File
-
vendor/
symfony/ psr-http-message-bridge/ HttpMessageFactoryInterface.php, line 34
Class
- HttpMessageFactoryInterface
- Creates PSR HTTP Request and Response instances from Symfony ones.
Namespace
Symfony\Bridge\PsrHttpMessageCode
public function createResponse(Response $symfonyResponse) : ResponseInterface;