function TestHttpMiddlewareClass::handle
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/TestHttpMiddlewareClass.php \Drupal\Tests\Core\DependencyInjection\Fixture\TestHttpMiddlewareClass::handle()
File
-
core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ Fixture/ TestHttpMiddlewareClass.php, line 22
Class
- TestHttpMiddlewareClass
- Stub of http_middleware class.
Namespace
Drupal\Tests\Core\DependencyInjection\FixtureCode
public function handle(Request $request, int $type = self::MAIN_REQUEST, bool $catch = TRUE) : Response {
return new Response();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.