You are here

public function PsrResponseSubscriber::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/EventSubscriber/PsrResponseSubscriber.php \Drupal\Core\EventSubscriber\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 35
Contains \Drupal\Core\EventSubscriber\PsrResponseSubscriber.

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;
}