class FinalTestHttpMiddlewareClass
Same name in other branches
- 10 core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/FinalTestHttpMiddlewareClass.php \Drupal\Tests\Core\DependencyInjection\Fixture\FinalTestHttpMiddlewareClass
Stub of http_middleware class that is declared final.
Hierarchy
- class \Drupal\Tests\Core\DependencyInjection\Fixture\FinalTestHttpMiddlewareClass implements \Symfony\Component\HttpKernel\HttpKernelInterface, \Symfony\Component\HttpKernel\TerminableInterface
Expanded class hierarchy of FinalTestHttpMiddlewareClass
1 file declares its use of FinalTestHttpMiddlewareClass
- StackedKernelPassTest.php in core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ Compiler/ StackedKernelPassTest.php
File
-
core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ Fixture/ FinalTestHttpMiddlewareClass.php, line 15
Namespace
Drupal\Tests\Core\DependencyInjection\FixtureView source
final class FinalTestHttpMiddlewareClass implements HttpKernelInterface, TerminableInterface {
/**
* {@inheritdoc}
*/
public function handle(Request $request, int $type = self::MAIN_REQUEST, bool $catch = TRUE) : Response {
return new Response();
}
/**
* {@inheritdoc}
*/
public function terminate(Request $request, Response $response) : void {
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
FinalTestHttpMiddlewareClass::handle | public | function | |
FinalTestHttpMiddlewareClass::terminate | public | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.