function MonkeysInTheControlRoom::__construct
Same name in other branches
- 8.9.x core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php \Drupal\error_service_test\MonkeysInTheControlRoom::__construct()
- 10 core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php \Drupal\error_service_test\MonkeysInTheControlRoom::__construct()
- 11.x 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.
\Drupal\Core\Site\Settings $settings: The settings object.
File
-
core/
modules/ system/ tests/ modules/ error_service_test/ src/ MonkeysInTheControlRoom.php, line 37
Class
- MonkeysInTheControlRoom
- A http middleware designed to cause bedlam.
Namespace
Drupal\error_service_testCode
public function __construct(HttpKernelInterface $app, Settings $settings) {
$this->app = $app;
$this->settings = $settings;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.