You are here

function RequestCloseSubscriber::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/EventSubscriber/RequestCloseSubscriber.php \Drupal\Core\EventSubscriber\RequestCloseSubscriber::__construct()

Constructs a new RequestCloseSubscriber instance.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

File

core/lib/Drupal/Core/EventSubscriber/RequestCloseSubscriber.php, line 31
Contains \Drupal\Core\EventSubscriber\RequestCloseSubscriber.

Class

RequestCloseSubscriber
Subscriber for all responses.

Namespace

Drupal\Core\EventSubscriber

Code

function __construct(ModuleHandlerInterface $module_handler) {
  $this->moduleHandler = $module_handler;
}