function PsrResponseSubscriber::__construct

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/EventSubscriber/PsrResponseSubscriber.php \Drupal\Core\EventSubscriber\PsrResponseSubscriber::__construct()
  2. 10 core/lib/Drupal/Core/EventSubscriber/PsrResponseSubscriber.php \Drupal\Core\EventSubscriber\PsrResponseSubscriber::__construct()
  3. 9 core/lib/Drupal/Core/EventSubscriber/PsrResponseSubscriber.php \Drupal\Core\EventSubscriber\PsrResponseSubscriber::__construct()
  4. 8.9.x core/lib/Drupal/Core/EventSubscriber/PsrResponseSubscriber.php \Drupal\Core\EventSubscriber\PsrResponseSubscriber::__construct()

Constructs a new PathRootsSubscriber instance.

Parameters

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

File

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

Class

PsrResponseSubscriber
Response subscriber for handling PSR-7 responses.

Namespace

Drupal\Core\EventSubscriber

Code

public function __construct(protected HttpFoundationFactoryInterface $httpFoundationFactory) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.