function TestWaitTerminateMiddleware::__construct
Same name in other branches
- 11.x core/lib/Drupal/Core/Test/StackMiddleware/TestWaitTerminateMiddleware.php \Drupal\Core\Test\StackMiddleware\TestWaitTerminateMiddleware::__construct()
Constructs a test wait terminate stack middleware object.
Parameters
\Symfony\Component\HttpKernel\HttpKernelInterface $httpKernel: The decorated kernel.
\Drupal\Core\State\StateInterface $state: The state server.
\Drupal\Core\Lock\LockBackendInterface $lock: The lock backend.
File
-
core/
lib/ Drupal/ Core/ Test/ StackMiddleware/ TestWaitTerminateMiddleware.php, line 26
Class
- TestWaitTerminateMiddleware
- Acquire a lock to signal request termination to the test runner.
Namespace
Drupal\Core\Test\StackMiddlewareCode
public function __construct(HttpKernelInterface $httpKernel, StateInterface $state, LockBackendInterface $lock) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.