interface HttpMessageFactoryInterface in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/psr-http-message-bridge/HttpMessageFactoryInterface.php \Symfony\Bridge\PsrHttpMessage\HttpMessageFactoryInterface
Creates PSR HTTP Request and Response instances from Symfony ones.
@author Kévin Dunglas <dunglas@gmail.com>
Hierarchy
- interface \Symfony\Bridge\PsrHttpMessage\HttpMessageFactoryInterface
Expanded class hierarchy of HttpMessageFactoryInterface
All classes that implement HttpMessageFactoryInterface
2 files declare their use of HttpMessageFactoryInterface
- ControllerResolver.php in core/
lib/ Drupal/ Core/ Controller/ ControllerResolver.php - Contains \Drupal\Core\Controller\ControllerResolver.
- DiactorosFactory.php in vendor/
symfony/ psr-http-message-bridge/ Factory/ DiactorosFactory.php
File
- vendor/
symfony/ psr-http-message-bridge/ HttpMessageFactoryInterface.php, line 24
Namespace
Symfony\Bridge\PsrHttpMessageView source
interface HttpMessageFactoryInterface {
/**
* Creates a PSR-7 Request instance from a Symfony one.
*
* @param Request $symfonyRequest
*
* @return ServerRequestInterface
*/
public function createRequest(Request $symfonyRequest);
/**
* Creates a PSR-7 Response instance from a Symfony one.
*
* @param Response $symfonyResponse
*
* @return ResponseInterface
*/
public function createResponse(Response $symfonyResponse);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HttpMessageFactoryInterface:: |
public | function | Creates a PSR-7 Request instance from a Symfony one. | 1 |
HttpMessageFactoryInterface:: |
public | function | Creates a PSR-7 Response instance from a Symfony one. | 1 |