function TestCompatClosureHttpMiddlewareClass::handle
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/TestCompatClosureHttpMiddlewareClass.php \Drupal\Tests\Core\DependencyInjection\Fixture\TestCompatClosureHttpMiddlewareClass::handle()
File
-
core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ Fixture/ TestCompatClosureHttpMiddlewareClass.php, line 22
Class
- TestCompatClosureHttpMiddlewareClass
- Stub of http_middleware class taking a service closure with bc.
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.