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