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

Breadcrumb

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

function PsrResponseSubscriber::__construct

Constructs a new PathRootsSubscriber instance.

Parameters

\Symfony\Bridge\PsrHttpMessage\HttpFoundationFactoryInterface $http_foundation_factory: The httpFoundation factory.

File

core/lib/Drupal/Core/EventSubscriber/PsrResponseSubscriber.php, line 30

Class

PsrResponseSubscriber
Response subscriber for handling PSR-7 responses.

Namespace

Drupal\Core\EventSubscriber

Code

public function __construct(HttpFoundationFactoryInterface $http_foundation_factory) {
    $this->httpFoundationFactory = $http_foundation_factory;
}

API Navigation

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