Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. HttpFoundationFactoryInterface.php

interface 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

3 files declare their use of HttpFoundationFactoryInterface
HttpFoundationFactory.php in vendor/symfony/psr-http-message-bridge/Factory/HttpFoundationFactory.php
PsrResponseListener.php in vendor/symfony/psr-http-message-bridge/EventListener/PsrResponseListener.php
PsrResponseSubscriber.php in core/lib/Drupal/Core/EventSubscriber/PsrResponseSubscriber.php

File

vendor/symfony/psr-http-message-bridge/HttpFoundationFactoryInterface.php, line 24

Namespace

Symfony\Bridge\PsrHttpMessage
View source
interface HttpFoundationFactoryInterface {
    
    /**
     * Creates a Symfony Request instance from a PSR-7 one.
     */
    public function createRequest(ServerRequestInterface $psrRequest, bool $streamed = false) : Request;
    
    /**
     * Creates a Symfony Response instance from a PSR-7 one.
     */
    public function createResponse(ResponseInterface $psrResponse, bool $streamed = false) : Response;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
HttpFoundationFactoryInterface::createRequest public function Creates a Symfony Request instance from a PSR-7 one. 1
HttpFoundationFactoryInterface::createResponse public function Creates a Symfony Response instance from a PSR-7 one. 1

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal