You are here

public function MonkeysInTheControlRoom::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php \Drupal\error_service_test\MonkeysInTheControlRoom::__construct()

MonkeysInTheControlRoom constructor.

Parameters

\Symfony\Component\HttpKernel\HttpKernelInterface $app: The wrapper HTTP kernel.

File

core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php, line 33
Contains \Drupal\error_service_test\MonkeysInTheControlRoom.

Class

MonkeysInTheControlRoom
A http middleware designed to cause bedlam.

Namespace

Drupal\error_service_test

Code

public function __construct(HttpKernelInterface $app, Settings $settings) {
  $this->app = $app;
  $this->settings = $settings;
}