interface 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
3 files declare their use of HttpMessageFactoryInterface
- Psr7RequestValueResolver.php in core/
lib/ Drupal/ Core/ Controller/ ArgumentResolver/ Psr7RequestValueResolver.php - PsrHttpFactory.php in vendor/
symfony/ psr-http-message-bridge/ Factory/ PsrHttpFactory.php - PsrServerRequestResolver.php in vendor/
symfony/ psr-http-message-bridge/ ArgumentValueResolver/ PsrServerRequestResolver.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.
*/
public function createRequest(Request $symfonyRequest) : ServerRequestInterface;
/**
* Creates a PSR-7 Response instance from a Symfony one.
*/
public function createResponse(Response $symfonyResponse) : ResponseInterface;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
HttpMessageFactoryInterface::createRequest | public | function | Creates a PSR-7 Request instance from a Symfony one. | 1 |
HttpMessageFactoryInterface::createResponse | public | function | Creates a PSR-7 Response instance from a Symfony one. | 1 |